You are here

public function UltimenuManagerInterface::getRegionKey in Ultimenu 8

Gets the region key.

Parameters

string $menu_name: The menu name.

string $key: The menu item key can be UUID or menu item title.

string $title: The menu item title.

string $max_length: The maximum characters to trim.

Return value

string The region key name based on shortened UUID, or menu item title.

1 method overrides UltimenuManagerInterface::getRegionKey()
UltimenuManager::getRegionKey in src/UltimenuManager.php
Gets the region key.

File

src/UltimenuManagerInterface.php, line 76

Class

UltimenuManagerInterface
Interface for Ultimenu plugins.

Namespace

Drupal\ultimenu

Code

public function getRegionKey($menu_name, $key, $title, $max_length = 28);