function PageActions::__construct

Constructs a PageActions 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\navigation\NavigationRenderer $navigationRenderer: The navigation renderer.

\Drupal\Core\Routing\RouteMatchInterface $routeMatch: The route match.

Overrides PluginBase::__construct

File

core/modules/navigation/src/Plugin/TopBarItem/PageActions.php, line 43

Class

PageActions
Provides the Page Actions basic top bar item.

Namespace

Drupal\navigation\Plugin\TopBarItem

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, NavigationRenderer $navigationRenderer, RouteMatchInterface $routeMatch) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.