function PathPluginBase::__construct
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::__construct()
- 8.9.x core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::__construct()
- 10 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::__construct()
Constructs a PathPluginBase 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.
\Drupal\Core\State\StateInterface $state: The state key value store.
Overrides DisplayPluginBase::__construct
3 calls to PathPluginBase::__construct()
- Feed::__construct in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Constructs a PathPluginBase object.
- Page::__construct in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Constructs a Page object.
- RestExport::__construct in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Constructs a RestExport object.
3 methods override PathPluginBase::__construct()
- Feed::__construct in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Constructs a PathPluginBase object.
- Page::__construct in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Constructs a Page object.
- RestExport::__construct in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Constructs a RestExport object.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php, line 55
Class
- PathPluginBase
- The base display plugin for path/callbacks. This is used for pages and feeds.
Namespace
Drupal\views\Plugin\views\displayCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider, StateInterface $state) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeProvider = $route_provider;
$this->state = $state;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.