You are here

public function UltimenuTool::getTitle in Ultimenu 8.2

Returns title.

1 call to UltimenuTool::getTitle()
UltimenuTool::getRegionKey in src/UltimenuTool.php
Gets the region key.

File

src/UltimenuTool.php, line 172

Class

UltimenuTool
Provides Ultimenu utility methods.

Namespace

Drupal\ultimenu

Code

public function getTitle($link) {
  return $this
    ->extractTitle($link)['title'];
}