Drupal 8  8.0.2
ViewsLocalTaskTest Class Reference
Inheritance diagram for ViewsLocalTaskTest:

Public Member Functions

 testGetDerivativeDefinitionsWithoutHookMenuViews ()
 
 testGetDerivativeDefinitionsWithoutLocalTask ()
 
 testGetDerivativeDefinitionsWithLocalTask ()
 
 testGetDerivativeDefinitionsWithOverrideRoute ()
 
 testGetDerivativeDefinitionsWithDefaultLocalTask ()
 
 testGetDerivativeDefinitionsWithExistingLocalTask ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $routeProvider
 
 $state
 
 $viewStorage
 
 $baseDefinition
 
 $localTaskDerivative
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

views

Member Function Documentation

testGetDerivativeDefinitionsWithDefaultLocalTask ( )

Tests fetching the derivatives on a view with a default local task.

References Drupal\state().

Here is the call graph for this function:

testGetDerivativeDefinitionsWithExistingLocalTask ( )

Tests fetching the derivatives on a view with a local task and a parent.

The parent is defined by another module, not views.

References Drupal\state().

Here is the call graph for this function:

testGetDerivativeDefinitionsWithLocalTask ( )

Tests fetching the derivatives on a view with a default local task.

References Drupal\state().

Here is the call graph for this function:

testGetDerivativeDefinitionsWithoutHookMenuViews ( )

Tests fetching the derivatives on no view with hook menu.

See Also
::getDerivativeDefinitions()
testGetDerivativeDefinitionsWithoutLocalTask ( )

Tests fetching the derivatives on a view with without a local task.

testGetDerivativeDefinitionsWithOverrideRoute ( )

Tests fetching the derivatives on a view which overrides an existing route.

References Drupal\state().

Here is the call graph for this function:

Field Documentation

$baseDefinition
protected
Initial value:
= array(
'class' => '\Drupal\views\Plugin\Menu\LocalTask\ViewsLocalTask',
'deriver' => '\Drupal\views\Plugin\Derivative\ViewsLocalTask'
)

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