public function LocalActionDefault::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::__construct()
Constructs a LocalActionDefault object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider to load routes by name.
Overrides PluginBase::__construct
1 call to LocalActionDefault::__construct()
- MenuLinkAdd::__construct in core/
modules/ menu_ui/ src/ Plugin/ Menu/ LocalAction/ MenuLinkAdd.php - Constructs a MenuLinkAdd object.
1 method overrides LocalActionDefault::__construct()
- MenuLinkAdd::__construct in core/
modules/ menu_ui/ src/ Plugin/ Menu/ LocalAction/ MenuLinkAdd.php - Constructs a MenuLinkAdd object.
File
- core/
lib/ Drupal/ Core/ Menu/ LocalActionDefault.php, line 44 - Contains \Drupal\Core\Menu\LocalActionDefault.
Class
- LocalActionDefault
- Provides a default implementation for local action plugins.
Namespace
Drupal\Core\MenuCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeProvider = $route_provider;
}