W3cubDocs

/Drupal 8

interface LocalActionInterface

Defines an interface for menu local actions.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!LocalActionInterface.php/interface/LocalActionInterface/8.1.x