Drupal 8  8.0.2
ViewsLocalTask Class Reference
Inheritance diagram for ViewsLocalTask:

Public Member Functions

 __construct (RouteProviderInterface $route_provider, StateInterface $state, EntityStorageInterface $view_storage)
- Public Member Functions inherited from DeriverBase
 getDerivativeDefinition ($derivative_id, $base_plugin_definition)
 getDerivativeDefinitions ($base_plugin_definition)

Static Public Member Functions

static create (ContainerInterface $container, $base_plugin_id)

Protected Member Functions

 getApplicableMenuViews ()

Protected Attributes

- Protected Attributes inherited from DeriverBase
 $derivatives = array()

Detailed Description

Provides local task definitions for all views configured as local tasks.

Constructor & Destructor Documentation

__construct ( RouteProviderInterface  $route_provider,
StateInterface  $state,
EntityStorageInterface  $view_storage 

Constructs a instance.

\Drupal\Core\Routing\RouteProviderInterface$route_providerThe route provider.
\Drupal\Core\State\StateInterface$stateThe state key value store.
\Drupal\Core\Entity\EntityStorageInterface$view_storageThe view storage.

References Drupal\state().

Here is the call graph for this function:

Member Function Documentation

static create ( ContainerInterface  $container,

{Creates a new class instance.

\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container to pull out services used in the fetcher.
string$base_plugin_idThe base plugin ID for the plugin ID.
static Returns an instance of this fetcher.

Implements ContainerDeriverInterface.

getApplicableMenuViews ( )

Return a list of all views and display IDs that have a menu entry.

array A list of arrays containing the $view and $display_id.
array($view, $display_id),
array($view, $display_id),

References Views\getApplicableViews().

Here is the call graph for this function:

The documentation for this class was generated from the following file: