You are here

public function UltimenuToolInterface::getRegionKey in Ultimenu 8.2

Gets the region key.

Parameters

object $link: The menu item link object.

int $max_length: The amount of characters to truncate.

Return value

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

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

File

src/UltimenuToolInterface.php, line 66

Class

UltimenuToolInterface
Interface for Ultimenu tools.

Namespace

Drupal\ultimenu

Code

public function getRegionKey($link, $max_length = self::MAX_LENGTH);