function MenuTreeStorageInterface::menuNameInUse

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::menuNameInUse()
  2. 10 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::menuNameInUse()
  3. 11.x core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::menuNameInUse()

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.

1 method overrides MenuTreeStorageInterface::menuNameInUse()
MenuTreeStorage::menuNameInUse in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
Determines whether a specific menu name is used in the tree.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.