Drupal 8  8.0.2
FieldUiLocalTask Class Reference
Inheritance diagram for FieldUiLocalTask:

Public Member Functions

 __construct (RouteProviderInterface $route_provider, EntityManagerInterface $entity_manager, TranslationInterface $string_translation)
 getDerivativeDefinitions ($base_plugin_definition)
 alterLocalTasks (&$local_tasks)
- 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 Attributes

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

Detailed Description

Provides local task definitions for all entity bundles.

Constructor & Destructor Documentation

__construct ( RouteProviderInterface  $route_provider,
EntityManagerInterface  $entity_manager,
TranslationInterface  $string_translation 

Creates an FieldUiLocalTask object.

\Drupal\Core\Routing\RouteProviderInterface$route_providerThe route provider.
\Drupal\Core\Entity\EntityManagerInterface$entity_managerThe entity manager.
\Drupal\Core\StringTranslation\TranslationInterface$string_translationThe translation manager.

References Drupal\entityManager().

Here is the call graph for this function:

Member Function Documentation

alterLocalTasks ( $local_tasks)

Alters the base_route definition for field_ui local tasks.

array$local_tasksAn array of local tasks plugin definitions, keyed by plugin ID.

References Drupal\entityManager().

Here is the call graph for this function:

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.

getDerivativeDefinitions (   $base_plugin_definition)

{Gets the definition of all derivatives of a base plugin.

array$base_plugin_definitionThe definition array of the base plugin.
array An array of full derivative definitions keyed on derivative id.
See Also

Implements DeriverInterface.

References Drupal\entityManager(), and t().

Here is the call graph for this function:

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