public function ViewsMenuLink::__construct in Drupal 9
Same name in this branch
- 9 core/modules/views/src/Plugin/Derivative/ViewsMenuLink.php \Drupal\views\Plugin\Derivative\ViewsMenuLink::__construct()
- 9 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
Same name and namespace in other branches
- 8 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\DerivativeCode
public function __construct(EntityStorageInterface $view_storage) {
$this->viewStorage = $view_storage;
}