You are here

public function ViewsLocalTask::__construct in Webform Views Integration 8.5

Constructs a \Drupal\views\Plugin\Derivative\ViewsLocalTask instance.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.

\Drupal\Core\State\StateInterface $state: The state key value store.

\Drupal\Core\Entity\EntityStorageInterface $view_storage: The view storage.

\Drupal\Core\Menu\LocalTaskManagerInterface $local_task_manager: Local task manager service.

File

src/Plugin/Derivative/ViewsLocalTask.php, line 67

Class

ViewsLocalTask
Provides local task definitions webform submission views.

Namespace

Drupal\webform_views\Plugin\Derivative

Code

public function __construct(RouteProviderInterface $route_provider, StateInterface $state, EntityStorageInterface $view_storage, LocalTaskManagerInterface $local_task_manager) {
  $this->routeProvider = $route_provider;
  $this->state = $state;
  $this->viewStorage = $view_storage;
  $this->localTaskManager = $local_task_manager;
}