public function PathPluginBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::__construct()
- 9 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.
2 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.
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 54
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;
}