function MenuLinkManagerInterface::menuNameInUse
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php \Drupal\Core\Menu\MenuLinkManagerInterface::menuNameInUse()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php \Drupal\Core\Menu\MenuLinkManagerInterface::menuNameInUse()
- 11.x core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php \Drupal\Core\Menu\MenuLinkManagerInterface::menuNameInUse()
Determines if any links use a given menu name.
Parameters
string $menu_name: The menu name.
Return value
bool TRUE if any links are present in the named menu, FALSE otherwise.
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkManagerInterface.php, line 188
Class
- MenuLinkManagerInterface
- Defines an interface for managing menu links and storing their definitions.
Namespace
Drupal\Core\MenuCode
public function menuNameInUse($menu_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.