Drupal 8  8.0.2
LocalActionDefaultTest Class Reference
Inheritance diagram for LocalActionDefaultTest:

Public Member Functions

 testGetTitle ()
 
 testGetTitleWithContext ()
 
 testGetTitleWithTitleArguments ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
 setupLocalActionDefault ()
 
- 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

 $localActionDefault
 
 $config = array()
 
 $pluginId = 'local_action_default'
 
 $pluginDefinition
 
 $stringTranslation
 
 $routeProvider
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Menu

Member Function Documentation

setupLocalActionDefault ( )
protected

Setups the local action default.

References Drupal\config().

Referenced by LocalActionDefaultTest\testGetTitle(), LocalActionDefaultTest\testGetTitleWithContext(), and LocalActionDefaultTest\testGetTitleWithTitleArguments().

Here is the call graph for this function:

Here is the caller graph for this function:

testGetTitle ( )

Tests the getTitle method without a translation context.

See Also
::getTitle()

References LocalActionDefaultTest\setupLocalActionDefault().

Here is the call graph for this function:

testGetTitleWithContext ( )

Tests the getTitle method with a translation context.

See Also
::getTitle()

References LocalActionDefaultTest\setupLocalActionDefault().

Here is the call graph for this function:

testGetTitleWithTitleArguments ( )

Tests the getTitle method with title arguments.

References LocalActionDefaultTest\setupLocalActionDefault().

Here is the call graph for this function:

Field Documentation

$pluginDefinition
protected
Initial value:
= array(
'id' => 'local_action_default',
)

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