Skip to content

Commit

Permalink
Merge pull request #188 from esmero/ISSUE-187
Browse files Browse the repository at this point in the history
ISSUE-187: Wrong key value collection for UUID based Metadata Display Entity Autocomplete element
  • Loading branch information
aksm authored Apr 11, 2022
2 parents bf8802d + 06fcaa5 commit 3ae0d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Element/EntityAutocompleteUUID.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static function processEntityAutocomplete(array &$element, FormStateInter
$data = serialize($selection_settings) . $element['#target_type'] . $element['#selection_handler'];
$selection_settings_key = Crypt::hmacBase64($data, Settings::getHashSalt());

$key_value_storage = \Drupal::keyValue('sbf_entity_autocomplete');
$key_value_storage = \Drupal::keyValue('entity_autocomplete');
if (!$key_value_storage->has($selection_settings_key)) {
$key_value_storage->set($selection_settings_key, $selection_settings);
}
Expand Down

0 comments on commit 3ae0d0d

Please sign in to comment.