EntityStateChangeValidationTest::setUp |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
|
EntityStateChangeValidationTest::testExistingContentWithNoModeration |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests that content without prior moderation information can be moderated. |
EntityStateChangeValidationTest::testExistingMultilingualContentWithNoModeration |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests that content without prior moderation information can be translated. |
EntityStateChangeValidationTest::testInvalidState |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests validation with an invalid state. |
EntityStateChangeValidationTest::testInvalidStateMultilingual |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests state transition validation with multiple languages. |
EntityStateChangeValidationTest::testInvalidStateWithoutExisting |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests validation with no initial state or an invalid state. |
EntityStateChangeValidationTest::testInvalidTransition |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests invalid transitions. |
EntityStateChangeValidationTest::testTransitionAccessValidation |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
@dataProvider transitionAccessValidationTestCases |
EntityStateChangeValidationTest::testValidTransition |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Tests valid transitions. |
EntityStateChangeValidationTest::transitionAccessValidationTestCases |
function |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
Test cases for ::testTransitionAccessValidation. |
EntityStorageBase |
class |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
A base entity storage class. |
EntityStorageBase.php |
file |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
|
EntityStorageBase::$baseEntityClass |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Name of the base entity class. |
EntityStorageBase::$entityType |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Information about the entity type. |
EntityStorageBase::$entityTypeId |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Entity type ID for this storage. |
EntityStorageBase::$idKey |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Name of the entity's ID field in the entity database table. |
EntityStorageBase::$langcodeKey |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
The name of the entity langcode property. |
EntityStorageBase::$memoryCache |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
The memory cache. |
EntityStorageBase::$memoryCacheTag |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
The memory cache tag. |
EntityStorageBase::$uuidKey |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Name of entity's UUID database table field, if it supports UUIDs. |
EntityStorageBase::$uuidService |
property |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
The UUID service. |
EntityStorageBase::buildCacheId |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Builds the cache ID for the passed in entity ID. |
EntityStorageBase::buildPropertyQuery |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Builds an entity query. |
EntityStorageBase::create |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Constructs a new entity object, without permanently saving it. |
EntityStorageBase::delete |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Deletes permanently saved entities. |
EntityStorageBase::doCreate |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Performs storage-specific creation of entities. |
EntityStorageBase::doDelete |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Performs storage-specific entity deletion. |
EntityStorageBase::doLoadMultiple |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Performs storage-specific loading of entities. |
EntityStorageBase::doPostSave |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Performs post save entity processing. |
EntityStorageBase::doPreSave |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Performs presave entity processing. |
EntityStorageBase::doSave |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Performs storage-specific saving of the entity. |
EntityStorageBase::getAggregateQuery |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gets an aggregated query instance. |
EntityStorageBase::getEntitiesByClass |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Indexes the given array of entities by their class name and ID. |
EntityStorageBase::getEntityClass |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Retrieves the class name used to create the entity. |
EntityStorageBase::getEntityType |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gets the entity type definition. |
EntityStorageBase::getEntityTypeId |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gets the entity type ID. |
EntityStorageBase::getFromStaticCache |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gets entities from the static cache. |
EntityStorageBase::getQuery |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gets an entity query instance. |
EntityStorageBase::getQueryServiceName |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gets the name of the service for the query for this entity storage. |
EntityStorageBase::has |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Determines if this entity already exists in storage. |
EntityStorageBase::hasData |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Determines if the storage contains any data. |
EntityStorageBase::invokeHook |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Invokes a hook on behalf of the entity. |
EntityStorageBase::load |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Loads one entity. |
EntityStorageBase::loadByProperties |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Load entities by their property values without any access checks. |
EntityStorageBase::loadMultiple |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Loads one or more entities. |
EntityStorageBase::loadUnchanged |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Loads an unchanged entity from the database. |
EntityStorageBase::mapFromStorageRecords |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Maps from storage records to entity objects. |
EntityStorageBase::postLoad |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Attaches data to entities upon loading. |
EntityStorageBase::preLoad |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Gathers entities from a 'preload' step. |
EntityStorageBase::resetCache |
function |
core/lib/Drupal/Core/Entity/EntityStorageBase.php |
Resets the internal entity cache. |