function ViewsLocalTask::__construct
Same name and namespace in other branches
- 11.x core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php \Drupal\views\Plugin\Derivative\ViewsLocalTask::__construct()
- 10 core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php \Drupal\views\Plugin\Derivative\ViewsLocalTask::__construct()
- 9 core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php \Drupal\views\Plugin\Derivative\ViewsLocalTask::__construct()
- 8.9.x core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php \Drupal\views\Plugin\Derivative\ViewsLocalTask::__construct()
Constructs a \Drupal\views\Plugin\Derivative\ViewsLocalTask instance.
Parameters
\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider.
\Drupal\Core\State\StateInterface $state: The state key value store.
\Drupal\Core\Entity\EntityStorageInterface $viewStorage: The view storage.
File
-
core/
modules/ views/ src/ Plugin/ Derivative/ ViewsLocalTask.php, line 28
Class
- ViewsLocalTask
- Provides local task definitions for all views configured as local tasks.
Namespace
Drupal\views\Plugin\DerivativeCode
public function __construct(protected RouteProviderInterface $routeProvider, protected StateInterface $state, protected EntityStorageInterface $viewStorage) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.