diff --git a/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php b/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php index 76ead5b..37e40d4 100644 --- a/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php +++ b/core/modules/link/src/Plugin/Field/FieldType/LinkItem.php @@ -165,11 +165,8 @@ public static function generateSampleValue(FieldDefinitionInterface $field_defin * {@inheritdoc} */ public function isEmpty() { - if ($this->isExternal()) { - $value = $this->get('url')->getValue(); - return $value === NULL || $value === ''; - } - return FALSE; + $value = $this->get('url')->getValue(); + return $value === NULL || $value === ''; } /**