X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FElement%2FEntityAutocomplete.php;h=0691239dfa4d7c0d7e034240b74106a72b898bae;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=e82ed81cc2b5c283d9f360da1f1ec12d250c8ff7;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php b/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php index e82ed81cc..0691239df 100644 --- a/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php +++ b/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php @@ -39,7 +39,7 @@ class EntityAutocomplete extends Textfield { $info['#validate_reference'] = TRUE; // IMPORTANT! This should only be set to FALSE if the #default_value // property is processed at another level (e.g. by a Field API widget) and - // it's value is properly checked for access. + // its value is properly checked for access. $info['#process_default_value'] = TRUE; $info['#element_validate'] = [[$class, 'validateEntityAutocomplete']]; @@ -251,8 +251,8 @@ class EntityAutocomplete extends Textfield { /** * Finds an entity from an autocomplete input without an explicit ID. * - * The method will return an entity ID if one single entity unambuguously - * matches the incoming input, and sill assign form errors otherwise. + * The method will return an entity ID if one single entity unambiguously + * matches the incoming input, and assign form errors otherwise. * * @param \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler * Entity reference selection plugin.