You are here

public function LinkItemInterface::isExternal in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/link/src/LinkItemInterface.php \Drupal\link\LinkItemInterface::isExternal()

Determines if a link is external.

Return value

bool TRUE if the link is external, FALSE otherwise.

1 method overrides LinkItemInterface::isExternal()
LinkItem::isExternal in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
Determines if a link is external.

File

core/modules/link/src/LinkItemInterface.php, line 33

Class

LinkItemInterface
Defines an interface for the link field item.

Namespace

Drupal\link

Code

public function isExternal();