| ContentEntityBase::isDefaultTranslationAffectedOnly |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks if untranslatable fields should affect only the default translation. |
| ContentEntityBase::isLatestRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks if this entity is the latest revision. |
| ContentEntityBase::isLatestTranslationAffectedRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks whether this is the latest revision affecting this translation. |
| ContentEntityBase::isNewRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Determines whether a new revision should be created on save. |
| ContentEntityBase::isNewTranslation |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks whether the translation is new. |
| ContentEntityBase::isRevisionTranslationAffected |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks whether the current translation is affected by the current revision. |
| ContentEntityBase::isRevisionTranslationAffectedEnforced |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks if the revision translation affected flag value has been enforced. |
| ContentEntityBase::isTranslatable |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Returns the translation support status. |
| ContentEntityBase::isValidationRequired |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks whether entity validation is required before saving the entity. |
| ContentEntityBase::label |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the label of the entity. |
| ContentEntityBase::language |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the language of the entity. |
| ContentEntityBase::onChange |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Reacts to changes to a field. |
| ContentEntityBase::postCreate |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Acts on a created entity before hooks are invoked. |
| ContentEntityBase::postSave |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Acts on a saved entity before the insert or update hook is invoked. |
| ContentEntityBase::preSave |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Acts on an entity before the presave hook is invoked. |
| ContentEntityBase::preSaveRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Acts on a revision before it gets saved. |
| ContentEntityBase::referencedEntities |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets a list of entities referenced by this entity. |
| ContentEntityBase::removeTranslation |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Removes the translation identified by the given language code. |
| ContentEntityBase::set |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Sets a field value. |
| ContentEntityBase::setDefaultLangcode |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Populates the local cache for the default language code. |
| ContentEntityBase::setDefaultTranslationEnforced |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Set or clear an override of the isDefaultTranslation() result. |
| ContentEntityBase::setNewRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Enforces an entity to be saved as a new revision. |
| ContentEntityBase::setRevisionTranslationAffected |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Marks the current revision translation as affected. |
| ContentEntityBase::setRevisionTranslationAffectedEnforced |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Enforces the revision translation affected flag value. |
| ContentEntityBase::setValidationRequired |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Sets whether entity validation is required before saving the entity. |
| ContentEntityBase::toArray |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets an array of all property values. |
| ContentEntityBase::updateFieldLangcodes |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Updates language for already instantiated fields. |
| ContentEntityBase::updateLoadedRevisionId |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Updates the loaded Revision ID with the revision ID. |
| ContentEntityBase::updateOriginalValues |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Updates the original values with the interim changes. |
| ContentEntityBase::uuid |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the entity UUID (Universally Unique Identifier). |
| ContentEntityBase::validate |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Validates the currently set values. |
| ContentEntityBase::wasDefaultRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks whether the entity object was a default revision when it was saved. |
| ContentEntityBase::__clone |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Magic method: Implements a deep clone. |
| ContentEntityBase::__construct |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Constructs an Entity object. |
| ContentEntityBase::__get |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Implements the magic method for getting object properties. |
| ContentEntityBase::__isset |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Implements the magic method for isset(). |
| ContentEntityBase::__set |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Implements the magic method for setting object properties. |
| ContentEntityBase::__sleep |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
|
| ContentEntityBase::__unset |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Implements the magic method for unset(). |
| ContentEntityBaseMockableClass |
class |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php |
A class extending ContentEntityBase for mocking purposes. |
| ContentEntityBaseMockableClass.php |
file |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php |
|
| ContentEntityBaseUnitTest |
class |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
Tests Drupal\Core\Entity\ContentEntityBase. |
| ContentEntityBaseUnitTest.php |
file |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
|
| ContentEntityBaseUnitTest::$bundle |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The bundle of the entity under test. |
| ContentEntityBaseUnitTest::$entity |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The entity under test. |
| ContentEntityBaseUnitTest::$entityFieldManager |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The entity field manager used for testing. |
| ContentEntityBaseUnitTest::$entityType |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The entity type used for testing. |
| ContentEntityBaseUnitTest::$entityTypeBundleInfo |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The entity type bundle manager used for testing. |
| ContentEntityBaseUnitTest::$entityTypeId |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The type ID of the entity under test. |
| ContentEntityBaseUnitTest::$entityTypeManager |
property |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
The entity type manager used for testing. |