public function LocalActionDefault::getOptions in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getOptions()
- 9 core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getOptions()
1 method overrides LocalActionDefault::getOptions()
- BlockContentAddLocalAction::getOptions in core/
modules/ block_content/ src/ Plugin/ Menu/ LocalAction/ BlockContentAddLocalAction.php - Returns options for rendering a link for the local action.
File
- core/
lib/ Drupal/ Core/ Menu/ LocalActionDefault.php, line 121
Class
- LocalActionDefault
- Provides a default implementation for local action plugins.
Namespace
Drupal\Core\MenuCode
public function getOptions(RouteMatchInterface $route_match) {
return (array) $this->pluginDefinition['options'];
}