Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ContentEntityBase::$isDefaultRevision property core/lib/Drupal/Core/Entity/ContentEntityBase.php Indicates whether this is the default revision.
ContentEntityBase::$langcodeKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The language entity key.
ContentEntityBase::$languages property core/lib/Drupal/Core/Entity/ContentEntityBase.php Local cache for the available language objects.
ContentEntityBase::$loadedRevisionId property core/lib/Drupal/Core/Entity/ContentEntityBase.php The loaded revision ID before the new revision was set.
ContentEntityBase::$newRevision property core/lib/Drupal/Core/Entity/ContentEntityBase.php Boolean indicating whether a new revision should be created on save.
ContentEntityBase::$revisionTranslationAffectedKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The revision translation affected entity key.
ContentEntityBase::$translatableEntityKeys property core/lib/Drupal/Core/Entity/ContentEntityBase.php Holds translatable entity keys such as the label.
ContentEntityBase::$translationInitialize property core/lib/Drupal/Core/Entity/ContentEntityBase.php A flag indicating whether a translation object is being initialized.
ContentEntityBase::$translations property core/lib/Drupal/Core/Entity/ContentEntityBase.php An array of entity translation metadata.
ContentEntityBase::$validated property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation was performed.
ContentEntityBase::$validationRequired property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation is required before saving the entity.
ContentEntityBase::$values property core/lib/Drupal/Core/Entity/ContentEntityBase.php The plain data values of the contained fields.
ContentEntityBase::access function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks data value access.
ContentEntityBase::addTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Adds a new translation to the translatable object.
ContentEntityBase::baseFieldDefinitions function core/lib/Drupal/Core/Entity/ContentEntityBase.php Provides base field definitions for an entity type.
ContentEntityBase::bundle function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets the bundle of the entity.
ContentEntityBase::bundleFieldDefinitions function core/lib/Drupal/Core/Entity/ContentEntityBase.php Provides field definitions for a specific bundle.
ContentEntityBase::clearTranslationCache function core/lib/Drupal/Core/Entity/ContentEntityBase.php Clears entity translation object cache to remove stale references.
ContentEntityBase::create function core/lib/Drupal/Core/Entity/ContentEntityBase.php Constructs a new entity object, without permanently saving it.
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 #[\ReturnTypeWillChange]
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 in the language it was created.
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.