You are here

public function Link::isExternal in Colossal Menu 8

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

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

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