Drupal 8  8.0.2
HookDiscoveryTest Class Reference
Inheritance diagram for HookDiscoveryTest:

Public Member Functions

 testGetDefinitionsWithoutPlugins ()
 
 testGetDefinitions ()
 
 testGetDefinition ()
 
 testGetDefinitionWithUnknownID ()
 
- 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

 $moduleHandler
 
 $hookDiscovery
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Plugin

Member Function Documentation

setUp ( )
protected

{}

References Drupal\moduleHandler().

Here is the call graph for this function:

testGetDefinition ( )

Tests the getDefinition method with some plugins.

See Also
::getDefinition()

References Drupal\moduleHandler().

Here is the call graph for this function:

testGetDefinitions ( )

Tests the getDefinitions() method with some plugins.

See Also
::getDefinitions()

References Drupal\moduleHandler().

Here is the call graph for this function:

testGetDefinitionsWithoutPlugins ( )

Tests the getDefinitions() method without any plugins.

See Also
::getDefinitions()

References Drupal\moduleHandler().

Here is the call graph for this function:

testGetDefinitionWithUnknownID ( )

Tests the getDefinition method with an unknown plugin ID.

See Also
::getDefinition()

References Drupal\moduleHandler().

Here is the call graph for this function:


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