Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsMenuLink.php

function ViewsMenuLink::__construct

Same name in this branch
  1. 11.1.x core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal