function LocalActionDefault::getOptions
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getOptions()
- 8.9.x core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getOptions()
- 10 core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getOptions()
Overrides LocalActionInterface::getOptions
3 calls to 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.
- DisplayModeLocalAction::getOptions in core/
modules/ field_ui/ src/ DisplayModeLocalAction.php - Returns options for rendering a link for the local action.
- MenuLinkAdd::getOptions in core/
modules/ menu_ui/ src/ Plugin/ Menu/ LocalAction/ MenuLinkAdd.php - Returns options for rendering a link for the local action.
3 methods override 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.
- DisplayModeLocalAction::getOptions in core/
modules/ field_ui/ src/ DisplayModeLocalAction.php - Returns options for rendering a link for the local action.
- MenuLinkAdd::getOptions in core/
modules/ menu_ui/ src/ Plugin/ Menu/ LocalAction/ MenuLinkAdd.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'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.