Search for revision

  1. Search 7.x for revision
  2. Search 9.5.x for revision
  3. Search 8.9.x for revision
  4. Search 11.x for revision
  5. Other projects
Title Object type File name Summary
BlockContentTest::$newRevisionsShouldBeAutomatic property core/modules/jsonapi/tests/src/Functional/BlockContentTest.php Whether new revisions of updated entities should be created by default.
BlockContentTest::setUpRevisionAuthorization function core/modules/jsonapi/tests/src/Functional/BlockContentTest.php Sets up the necessary authorization for handling revisions.
BlockContentType::$revision property core/modules/block_content/src/Entity/BlockContentType.php The default revision setting for content blocks of this type.
BlockContentType::shouldCreateNewRevision function core/modules/block_content/src/Entity/BlockContentType.php Gets whether a new revision should be created by default.
BlockContentUpdateTest::testConvertBlockContentTypeRevisionFlagToBoolean function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Tests converting block types' `revision` flag to boolean.
block_content_post_update_revision_type function core/modules/block_content/block_content.post_update.php Update configuration for revision type.
BookContentModerationTest::testBookWithPendingRevisions function core/modules/book/tests/src/Functional/BookContentModerationTest.php Tests that book drafts can not modify the book outline.
BookPendingRevisionTest class core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php Tests that the Book module handles pending revisions correctly.
BookPendingRevisionTest.php file core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php
BookPendingRevisionTest::$modules property core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php Modules to enable.
BookPendingRevisionTest::setUp function core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php
BookPendingRevisionTest::testBookWithPendingRevisions function core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php Tests pending revision handling for books.
ConfigEntityStorage::deleteRevision function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Delete a specific entity revision.
ConfigEntityStorage::loadRevision function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Load a specific entity revision.
ConfigEntityStorageTest::testDeleteRevision function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @covers ::deleteRevision[[api-linebreak]]
@group legacy
ConfigEntityStorageTest::testLoadRevision function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @covers ::loadRevision[[api-linebreak]]
@group legacy
ConfigEntityType::getRevisionDataTable function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Gets the name of the entity's revision data table.
ConfigEntityType::getRevisionTable function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Gets the name of the entity's revision table.
ContentEntityBase::$enforceRevisionTranslationAffected property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether the revision translation affected flag has been enforced.
ContentEntityBase::$isDefaultRevision property core/lib/Drupal/Core/Entity/ContentEntityBase.php Indicates whether this is the default revision.
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.

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