core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php b/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php index d903595..66b4005 100644 --- a/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php +++ b/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php @@ -123,7 +123,7 @@ protected static function getUserEnteredStringAsUri($string) { $entity_id = EntityAutocomplete::extractEntityIdFromAutocompleteInput($string); if ($entity_id !== NULL) { // @todo Support entity types other than 'node'. Will be fixed in - // https://www.drupal.org/node/2407505. + // https://www.drupal.org/node/2423093. $uri = 'entity:node/' . $entity_id; } // Detect a schemeless string, map to 'user-path:' URI. @@ -210,7 +210,7 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen if ($this->supportsInternalLinks()) { $element['uri']['#type'] = 'entity_autocomplete'; // @todo The user should be able to select an entity type. Will be fixed - // in https://www.drupal.org/node/2407505. + // in https://www.drupal.org/node/2423093. $element['uri']['#target_type'] = 'node'; // Disable autocompletion when the first character is '/', '#' or '?'. $element['uri']['#attributes']['data-autocomplete-first-character-blacklist'] = '/#?';