Drupal 8  8.0.2
EntityRevisionTranslationTest Class Reference
Inheritance diagram for EntityRevisionTranslationTest:

Public Member Functions

 testNewRevisionAfterTranslation ()
 
 testRevertRevisionAfterTranslation ()
 

Static Public Attributes

static $modules = ['language']
 
- Static Public Attributes inherited from EntityUnitTestBase
static $modules = ['user', 'system', 'field', 'text', 'filter', 'entity_test']
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from EntityUnitTestBase
 setUp ()
 
 createUser ($values=array(), $permissions=array())
 
 reloadEntity (EntityInterface $entity)
 
 getHooksInfo ()
 
 installModule ($module)
 
 uninstallModule ($module)
 
 refreshServices ()
 
 generateRandomEntityId ($string=FALSE)
 

Additional Inherited Members

- Protected Attributes inherited from EntityUnitTestBase
 $entityManager
 
 $generatedIds = array()
 
 $state
 

Detailed Description

Tests proper revision propagation of entities.

Entity

Member Function Documentation

setUp ( )
protected

{}

References ConfigurableLanguage\createFromLangcode().

Here is the call graph for this function:

testNewRevisionAfterTranslation ( )

Tests if the translation object has the right revision id after new revision.

References Entity\create(), EntityUnitTestBase\createUser(), and EntityUnitTestBase\reloadEntity().

Here is the call graph for this function:

testRevertRevisionAfterTranslation ( )

Tests if the translation object has the right revision id after new revision.

References Entity\create(), EntityUnitTestBase\createUser(), Drupal\entityManager(), and EntityUnitTestBase\reloadEntity().

Here is the call graph for this function:

Field Documentation

$modules = ['language']
static

{}


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