| EntityCrudHookTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests entity CRUD via hooks. |
| EntityCrudHookTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
|
| EntityCrudHookTest::$ids |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
|
| EntityCrudHookTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
|
| EntityCrudHookTest::assertHookMessageOrder |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Checks the order of CRUD hook execution messages. |
| EntityCrudHookTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
|
| EntityCrudHookTest::testBlockHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on blocks. |
| EntityCrudHookTest::testCommentHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on comments. |
| EntityCrudHookTest::testEntityRollback |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests rollback from failed entity save. |
| EntityCrudHookTest::testFileHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on files. |
| EntityCrudHookTest::testNodeHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on nodes. |
| EntityCrudHookTest::testTaxonomyTermHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on taxonomy terms. |
| EntityCrudHookTest::testTaxonomyVocabularyHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on taxonomy vocabularies. |
| EntityCrudHookTest::testUserHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on users. |
| EntityDecoupledTranslationRevisionsTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Test decoupled translation revisions. |
| EntityDecoupledTranslationRevisionsTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
|
| EntityDecoupledTranslationRevisionsTest::$bundleInfo |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The entity type bundle info service. |
| EntityDecoupledTranslationRevisionsTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
|
| EntityDecoupledTranslationRevisionsTest::$previousRevisionId |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The previous revision identifiers for the various revision translations. |
| EntityDecoupledTranslationRevisionsTest::$previousUntranslatableFieldValue |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The previous untranslatable field value. |
| EntityDecoupledTranslationRevisionsTest::$stepIndex |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The current edit sequence step index. |
| EntityDecoupledTranslationRevisionsTest::$stepInfo |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The current edit sequence step info. |
| EntityDecoupledTranslationRevisionsTest::$storage |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The entity storage. |
| EntityDecoupledTranslationRevisionsTest::$translations |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
The translations of the test entity. |
| EntityDecoupledTranslationRevisionsTest::dataTestDecoupledPendingRevisions |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Data provider for ::testDecoupledDefaultRevisions. |
| EntityDecoupledTranslationRevisionsTest::dataTestUntranslatableFields |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Data provider for ::testUntranslatableFields. |
| EntityDecoupledTranslationRevisionsTest::doEditStep |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Saves a new revision of the test entity. |
| EntityDecoupledTranslationRevisionsTest::doTestEditSequence |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Actually tests an edit step sequence. |
| EntityDecoupledTranslationRevisionsTest::doTestInternalProperties |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Checks that internal properties are preserved for the specified entity. |
| EntityDecoupledTranslationRevisionsTest::formatMessage |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Formats an assertion message. |
| EntityDecoupledTranslationRevisionsTest::generateNewEntityLabel |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Generates a new label for the specified revision. |
| EntityDecoupledTranslationRevisionsTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
|
| EntityDecoupledTranslationRevisionsTest::testCreateRevisionHook |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Checks that the revision create hook works as expected. |
| EntityDecoupledTranslationRevisionsTest::testDecoupledPendingRevisions |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Tests decoupled default revisions. |
| EntityDecoupledTranslationRevisionsTest::testInternalProperties |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Tests that internal properties are preserved while creating a new revision. |
| EntityDecoupledTranslationRevisionsTest::testMultipleTranslationChanges |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Checks that changes to multiple translations are handled correctly. |
| EntityDecoupledTranslationRevisionsTest::testRemovedTranslations |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Tests that deleted translations are not accidentally restored. |
| EntityDecoupledTranslationRevisionsTest::testUntranslatableFields |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php |
Tests that untranslatable fields are handled correctly. |
| EntityDefaultLanguageTest |
class |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
Tests default language code is properly generated for entities. |
| EntityDefaultLanguageTest.php |
file |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
|
| EntityDefaultLanguageTest::$modules |
property |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
Modules to install. |
| EntityDefaultLanguageTest::createContentType |
function |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
Creates a new node content type. |
| EntityDefaultLanguageTest::createNode |
function |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
Creates a new node of given type and language using Entity API. |
| EntityDefaultLanguageTest::setUp |
function |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
|
| EntityDefaultLanguageTest::testEntityTranslationDefaultLanguageViaCode |
function |
core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php |
Tests that default language code is properly set for new nodes. |
| EntityDefinitionTestTrait |
trait |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Provides some test methods used to update existing entity definitions. |
| EntityDefinitionTestTrait.php |
file |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
|
| EntityDefinitionTestTrait::addBaseField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds a new base field to the 'entity_test_update' entity type. |
| EntityDefinitionTestTrait::addBaseFieldIndex |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds a single-field index to the base field. |
| EntityDefinitionTestTrait::addBundleField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds a new bundle field to the 'entity_test_update' entity type. |