diff --git a/core/modules/link/lib/Drupal/link/Plugin/Field/FieldWidget/LinkWidget.php b/core/modules/link/lib/Drupal/link/Plugin/Field/FieldWidget/LinkWidget.php index 80ba9b4..6f59a36 100644 --- a/core/modules/link/lib/Drupal/link/Plugin/Field/FieldWidget/LinkWidget.php +++ b/core/modules/link/lib/Drupal/link/Plugin/Field/FieldWidget/LinkWidget.php @@ -113,10 +113,11 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen } /** - * Is the LinkItem field definition configured to support links to routes? + * Indicates enabled support for link to routes. * * @return bool - * TRUE or FALSE + * Return TRUE if the LinkItem field is configured to support links to + * routes, otherwise FALSE. */ protected function supportsInternalLinks() { $link_type = $this->getFieldSetting('link_type'); @@ -124,10 +125,11 @@ protected function supportsInternalLinks() { } /** - * Is the LinkItem field definition configured to support external URLs? + * Indicates enabled support for link to external URLs. * * @return bool - * TRUE or FALSE + * Return TRUE if the LinkItem field is configured to support links to + * external URLs, otherwise FALSE. */ protected function supportsExternalLinks() { $link_type = $this->getFieldSetting('link_type');