public property MenuLink::$external

A flag to indicate if the link points to a full URL starting with a protocol, like http:// (1 = external, 0 = internal).

Type: int

File

drupal/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php, line 133
Contains \Drupal\menu_link\Plugin\Core\Entity\MenuLink.

Class

MenuLink
Defines the menu link entity class.

Namespace

Drupal\menu_link\Plugin\Core\Entity

Code

public $external;