W3cubDocs

/Drupal 8

public function MenuTreeStorageInterface::menuNameInUse

public MenuTreeStorageInterface::menuNameInUse($menu_name)

Determines whether a specific menu name is used in the tree.

Parameters

string $menu_name: The menu name.

Return value

bool Returns TRUE if the given menu name is used, otherwise FALSE.

File

core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 253

Class

MenuTreeStorageInterface
Defines an interface for storing a menu tree containing menu link IDs.

Namespace

Drupal\Core\Menu

Code

public function menuNameInUse($menu_name);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorageInterface.php/function/MenuTreeStorageInterface::menuNameInUse/8.1.x