public function MenuLinkContentInterface::isExpanded in Drupal 10
Same name and namespace in other branches
- 8 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::isExpanded()
- 9 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::isExpanded()
Returns whether the menu link is marked as always expanded.
Return value
bool TRUE for expanded, FALSE otherwise.
1 method overrides MenuLinkContentInterface::isExpanded()
- MenuLinkContent::isExpanded in core/
modules/ menu_link_content/ src/ Entity/ MenuLinkContent.php - Returns whether the menu link is marked as always expanded.
File
- core/
modules/ menu_link_content/ src/ MenuLinkContentInterface.php, line 74
Class
- MenuLinkContentInterface
- Defines an interface for custom menu links.
Namespace
Drupal\menu_link_contentCode
public function isExpanded();