public LocalActionDefault::getOptions(RouteMatchInterface $route_match)
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.
Overrides LocalActionInterface::getOptions
File
- core/lib/Drupal/Core/Menu/LocalActionDefault.php, line 118
Class
- LocalActionDefault
- Provides a default implementation for local action plugins.
Namespace
Drupal\Core\Menu
Code
public function getOptions(RouteMatchInterface $route_match) { return (array) $this->pluginDefinition['options']; }
Please login to continue.