You are here

public function LocalActionManagerInterface::getTitle in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php \Drupal\Core\Menu\LocalActionManagerInterface::getTitle()

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.

1 method overrides LocalActionManagerInterface::getTitle()
LocalActionManager::getTitle in core/lib/Drupal/Core/Menu/LocalActionManager.php
Gets the title for a local action.

File

core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php, line 33
Contains \Drupal\Core\Menu\LocalActionManagerInterface.

Class

LocalActionManagerInterface
Manages discovery and instantiation of menu local action plugins.

Namespace

Drupal\Core\Menu

Code

public function getTitle(LocalActionInterface $local_action);