LocalActionManagerInterface::getTitle

public LocalActionManagerInterface::getTitle(LocalActionInterface $local_action)

Gets the title for a local action.

Parameters

\Drupal\Core\Menu\LocalActionInterface $local_action: An object to get the title from.

Return value

string The title (already localized).

Throws

\BadMethodCallException If the plugin does not implement the getTitle() method.

File

core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php, line 29

Class

LocalActionManagerInterface
Manages discovery and instantiation of menu local action plugins.

Namespace

Drupal\Core\Menu

Code

public function getTitle(LocalActionInterface $local_action);
doc_Drupal
2016-10-29 09:23:44
Comments
Leave a Comment

Please login to continue.