function LocalActionInterface::getOptions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getOptions()
  2. 8.9.x core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getOptions()
  3. 11.x core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getOptions()

Returns options for rendering a link for the local action.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Return value

array An associative array of options.

1 method overrides LocalActionInterface::getOptions()
LocalActionDefault::getOptions in core/lib/Drupal/Core/Menu/LocalActionDefault.php
Returns options for rendering a link for the local action.

File

core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 47

Class

LocalActionInterface
Defines an interface for menu local actions.

Namespace

Drupal\Core\Menu

Code

public function getOptions(RouteMatchInterface $route_match);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.