function LinkItemInterface::isExternal

Same name and namespace in other branches
  1. 11.x 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.

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.