You are here

public function MenuLinkManagerInterface::menuNameInUse in Drupal 8

Same name and namespace in other branches
  1. 9 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.

1 method overrides MenuLinkManagerInterface::menuNameInUse()
MenuLinkManager::menuNameInUse in core/lib/Drupal/Core/Menu/MenuLinkManager.php
Determines if any links use a given menu name.

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\Menu

Code

public function menuNameInUse($menu_name);