Drupal 8  8.0.2
ElementInfoManagerTest Class Reference
Inheritance diagram for ElementInfoManagerTest:

Public Member Functions

 testGetInfoElementPlugin ($plugin_class, $expected_info)
 
 providerTestGetInfoElementPlugin ()
 
 testGetInfoProperty ()
 
- 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

 $elementInfo
 
 $cache
 
 $moduleHandler
 
 $themeManager
 
 $cacheTagsInvalidator
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Render

Member Function Documentation

providerTestGetInfoElementPlugin ( )

Provides tests data for testGetInfoElementPlugin().

Returns
array
setUp ( )
protected

{}

::__construct

References Drupal\cache(), and Drupal\moduleHandler().

Here is the call graph for this function:

testGetInfoElementPlugin (   $plugin_class,
  $expected_info 
)

Tests the getInfo() method when render element plugins are used.

::getInfo ::buildInfo

providerTestGetInfoElementPlugin

References Drupal\cache(), and Drupal\moduleHandler().

Here is the call graph for this function:

testGetInfoProperty ( )

::getInfoProperty

References Drupal\cache(), and Drupal\moduleHandler().

Here is the call graph for this function:


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