public function Link::isExternal in Colossal Menu 8
Same name and namespace in other branches
- 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\EntityCode
public function isExternal() {
return $this
->getUrlObject()
->isExternal();
}