Defines an interface for menu local actions.
Hierarchy
- interface \Drupal\Core\Menu\LocalActionInterface
File
- core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 10
Namespace
Drupal\Core\Menu
Members
Name | Modifiers | Type | Description |
---|---|---|---|
LocalActionInterface::getOptions | public | function | Returns options for rendering a link for the local action. |
LocalActionInterface::getRouteName | public | function | Get the route name from the settings. |
LocalActionInterface::getRouteParameters | public | function | Returns the route parameters needed to render a link for the local action. |
LocalActionInterface::getTitle | public | function | Returns the localized title to be shown for this action. |
LocalActionInterface::getWeight | public | function | Returns the weight for the local action. |
Please login to continue.