public function LocalActionInterface::getOptions in Drupal 9
Same name and namespace in other branches
- 8 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\MenuCode
public function getOptions(RouteMatchInterface $route_match);