Drupal 8  8.0.2
FieldDefinitionListenerTest Class Reference
Inheritance diagram for FieldDefinitionListenerTest:

Public Member Functions

 testOnFieldDefinitionCreateNewField ()
 
 testOnFieldDefinitionCreateExistingField ()
 
 testOnFieldDefinitionUpdate ()
 
 testOnFieldDefinitionDeleteMultipleBundles ()
 
 testOnFieldDefinitionDeleteSingleBundles ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
 setUpEntityManager ($definitions=array())
 
- 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

 $keyValueFactory
 
 $entityTypeManager
 
 $entityFieldManager
 
 $cacheBackend
 
 $fieldDefinitionListener
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Field

Member Function Documentation

setUp ( )
protected

{}

References Drupal\entityTypeManager().

Here is the call graph for this function:

setUpEntityManager (   $definitions = array())
protected

Sets up the entity manager to be tested.

Parameters
\Drupal\Core\Entity\EntityTypeInterface[]|\Prophecy\Prophecy\ProphecyInterface[]$definitions (optional) An array of entity type definitions.

References Drupal\entityTypeManager().

Referenced by FieldDefinitionListenerTest\testOnFieldDefinitionCreateExistingField(), FieldDefinitionListenerTest\testOnFieldDefinitionCreateNewField(), FieldDefinitionListenerTest\testOnFieldDefinitionDeleteMultipleBundles(), FieldDefinitionListenerTest\testOnFieldDefinitionDeleteSingleBundles(), and FieldDefinitionListenerTest\testOnFieldDefinitionUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

testOnFieldDefinitionCreateExistingField ( )

::onFieldDefinitionCreate

References Drupal\entityTypeManager(), and FieldDefinitionListenerTest\setUpEntityManager().

Here is the call graph for this function:

testOnFieldDefinitionCreateNewField ( )

::onFieldDefinitionCreate

References Drupal\entityTypeManager(), and FieldDefinitionListenerTest\setUpEntityManager().

Here is the call graph for this function:

testOnFieldDefinitionDeleteMultipleBundles ( )

::onFieldDefinitionDelete

References Drupal\entityTypeManager(), and FieldDefinitionListenerTest\setUpEntityManager().

Here is the call graph for this function:

testOnFieldDefinitionDeleteSingleBundles ( )

::onFieldDefinitionDelete

References Drupal\entityTypeManager(), and FieldDefinitionListenerTest\setUpEntityManager().

Here is the call graph for this function:

testOnFieldDefinitionUpdate ( )

::onFieldDefinitionUpdate

References Drupal\entityTypeManager(), and FieldDefinitionListenerTest\setUpEntityManager().

Here is the call graph for this function:


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