You are here

public function MenuLinkContentInterface::isEnabled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::isEnabled()

Returns whether the menu link is marked as enabled.

Return value

bool TRUE if is enabled, otherwise FALSE.

1 method overrides MenuLinkContentInterface::isEnabled()
MenuLinkContent::isEnabled in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Returns whether the menu link is marked as enabled.

File

core/modules/menu_link_content/src/MenuLinkContentInterface.php, line 69
Contains \Drupal\menu_link_content\MenuLinkContentInterface.

Class

MenuLinkContentInterface
Defines an interface for custom menu links.

Namespace

Drupal\menu_link_content

Code

public function isEnabled();