ContentEntityBase::createDuplicate |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Creates a duplicate of the entity. |
ContentEntityBase::get |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets a field item list. |
ContentEntityBase::getEntityKey |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the value of the given entity key, if defined. |
ContentEntityBase::getFieldDefinition |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the definition of a contained field. |
ContentEntityBase::getFieldDefinitions |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets an array of field definitions of all contained fields. |
ContentEntityBase::getFields |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets an array of all field item lists. |
ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Returns an array of field names to skip in ::hasTranslationChanges. |
ContentEntityBase::getIterator |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
|
ContentEntityBase::getLanguages |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
|
ContentEntityBase::getLoadedRevisionId |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the loaded Revision ID of the entity. |
ContentEntityBase::getRevisionId |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the revision identifier of the entity. |
ContentEntityBase::getTranslatableFields |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets an array of field item lists for translatable fields. |
ContentEntityBase::getTranslatedField |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets a translated field. |
ContentEntityBase::getTranslation |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets a translation of the data. |
ContentEntityBase::getTranslationLanguages |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Returns the languages the data is translated to. |
ContentEntityBase::getTranslationStatus |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Returns the translation status. |
ContentEntityBase::getUntranslated |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Returns the translatable object referring to the original language. |
ContentEntityBase::hasField |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Determines whether the entity has a field with the given name. |
ContentEntityBase::hasTranslation |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks there is a translation for the given language code. |
ContentEntityBase::hasTranslationChanges |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Determines if the current translation of the entity has unsaved changes. |
ContentEntityBase::id |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Gets the identifier. |
ContentEntityBase::initializeTranslation |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Instantiates a translation object for an existing translation. |
ContentEntityBase::isDefaultRevision |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks if this entity is the default revision. |
ContentEntityBase::isDefaultTranslation |
function |
core/lib/Drupal/Core/Entity/ContentEntityBase.php |
Checks whether the translation is the default one. |
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::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. |