function ViewsMenuLink::__construct

Same name in this branch
  1. 8.9.x core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
Same name in other branches
  1. 9 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
  2. 9 core/modules/views/src/Plugin/Derivative/ViewsMenuLink.php \Drupal\views\Plugin\Derivative\ViewsMenuLink::__construct()
  3. 10 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
  4. 10 core/modules/views/src/Plugin/Derivative/ViewsMenuLink.php \Drupal\views\Plugin\Derivative\ViewsMenuLink::__construct()
  5. 11.x core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
  6. 11.x core/modules/views/src/Plugin/Derivative/ViewsMenuLink.php \Drupal\views\Plugin\Derivative\ViewsMenuLink::__construct()

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

Parameters

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

File

core/modules/views/src/Plugin/Derivative/ViewsMenuLink.php, line 32

Class

ViewsMenuLink
Provides menu links for Views.

Namespace

Drupal\views\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $view_storage) {
    $this->viewStorage = $view_storage;
}

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