Search for revision

  1. Search 7.x for revision
  2. Search 9.5.x for revision
  3. Search 10.3.x for revision
  4. Search 11.x for revision
  5. Other projects
Title Object type File name Summary
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::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::isDefaultRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks if this entity is the default revision.
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::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::preSaveRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php Acts on a revision before it gets saved.
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::updateLoadedRevisionId function core/lib/Drupal/Core/Entity/ContentEntityBase.php Updates the loaded Revision ID with the revision ID.
ContentEntityBase::wasDefaultRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks whether the entity object was a default revision when it was saved.
ContentEntityBaseUnitTest::testGetRevisionId function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::getRevisionId[[api-linebreak]]
ContentEntityBaseUnitTest::testIsDefaultRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isDefaultRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testIsNewRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isNewRevision[[api-linebreak]]
@covers ::setNewRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testPreSaveRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::preSaveRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testSetNewRevisionException function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::setNewRevision[[api-linebreak]]
ContentEntityChangedTest::getRevisionTranslationAffectedFlag function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Retrieves the revision translation affected flag value.
ContentEntityChangedTest::testRevisionChanged function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Tests revisionable EntityChangedInterface functionality.
ContentEntityCloneTest::testDefaultRevision function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests changing the default revision flag.
ContentEntityCloneTest::testNewRevisionOnCloneEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests that the flag for enforcing a new revision is not shared.
ContentEntityForm::addRevisionableFormFields function core/lib/Drupal/Core/Entity/ContentEntityForm.php Add revision form fields if the entity enabled the UI.
ContentEntityForm::getNewRevisionDefault function core/lib/Drupal/Core/Entity/ContentEntityForm.php Should new revisions created on default.
ContentEntityForm::showRevisionUi function core/lib/Drupal/Core/Entity/ContentEntityForm.php Checks whether the revision form fields should be added to the form.
ContentEntityNonRevisionableFieldTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Tests non-revisionable fields on revisionable (and translatable) entities.
ContentEntityNonRevisionableFieldTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
ContentEntityNonRevisionableFieldTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Modules to enable.
ContentEntityNonRevisionableFieldTest::$mulRev property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php The EntityTestMulRev entity type storage.
ContentEntityNonRevisionableFieldTest::$rev property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php The EntityTestRev entity type storage.
ContentEntityNonRevisionableFieldTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
ContentEntityNonRevisionableFieldTest::testMulNonRevisionableField function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Tests non-revisionable fields on revisionable and translatable entities.
ContentEntityNonRevisionableFieldTest::testMultiColumnNonRevisionableBaseField function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Tests multi column non revisionable base field for revisionable entity.
ContentEntityNonRevisionableFieldTest::testNonRevisionableField function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Tests non-revisionable fields on revisionable entities.
ContentEntityNullStorage::deleteRevision function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Delete a specific entity revision.
ContentEntityNullStorage::doDeleteRevisionFieldItems function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Deletes field values of an entity revision from the storage.
ContentEntityNullStorage::doLoadRevisionFieldItems function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Actually loads revision field item values from the storage.
ContentEntityNullStorage::loadMultipleRevisions function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Loads multiple entity revisions.
ContentEntityNullStorage::loadRevision function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Load a specific entity revision.
ContentEntityStorageBase::$latestRevisionIds property core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Stores the latest revision IDs for entities.
ContentEntityStorageBase::createRevision function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Creates a new revision starting off from the specified entity object.
ContentEntityStorageBase::deleteRevision function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Delete a specific entity revision.
ContentEntityStorageBase::doDeleteRevisionFieldItems function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Deletes field values of an entity revision from the storage.
ContentEntityStorageBase::doLoadMultipleRevisionsFieldItems function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Actually loads revision field item values from the storage.
ContentEntityStorageBase::doLoadRevisionFieldItems function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Actually loads revision field item values from the storage.
ContentEntityStorageBase::getLatestRevisionId function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Returns the latest revision identifier for an entity.

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