You are here

public function Link::isExternal in Colossal Menu 2.x

Same name and namespace in other branches
  1. 8 src/Entity/Link.php \Drupal\colossal_menu\Entity\Link::isExternal()

Determines if link is external.

Return value

bool Whether the current link is external or not.

Overrides LinkInterface::isExternal

File

src/Entity/Link.php, line 370

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function isExternal() {
  return $this
    ->getUrlObject()
    ->isExternal();
}