Manages discovery and instantiation of menu local action plugins.
Menu local actions are links that lead to actions like "add new". The plugin format allows them (if needed) to dynamically generate a title or the path they link to. The annotation on the plugin provides the default title, and the list of routes where the action should be rendered.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Core\Menu\LocalActionManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
File
- core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php, line 15
Namespace
Drupal\Core\Menu
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DiscoveryInterface::getDefinition | public | function | Gets a specific plugin definition. |
DiscoveryInterface::getDefinitions | public | function | Gets the definition of all plugins for this type. |
DiscoveryInterface::hasDefinition | public | function | Indicates if a specific plugin definition exists. |
FactoryInterface::createInstance | public | function | Creates a pre-configured instance of a plugin. |
LocalActionManagerInterface::getActionsForRoute | public | function | Finds all local actions that appear on a named route. |
LocalActionManagerInterface::getTitle | public | function | Gets the title for a local action. |
MapperInterface::getInstance | public | function | Gets a preconfigured instance of a plugin. |
Please login to continue.