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);
Please login to continue.