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
ResourceTestBase::$newRevisionsShouldBeAutomatic property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Whether new revisions of updated entities should be created by default.
ResourceTestBase::setUpRevisionAuthorization function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Sets up the necessary authorization for handling revisions.
ResourceTestBase::testRevisions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests individual and collection revisions.
ResourceVersionRouteEnhancer::REVISION_ID_KEY constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The route default parameter name.
RevisionableContentEntityBase class core/lib/Drupal/Core/Entity/RevisionableContentEntityBase.php Provides a content entity with extended support for revisions.
RevisionableContentEntityBase.php file core/lib/Drupal/Core/Entity/RevisionableContentEntityBase.php
RevisionableContentEntityBase::baseFieldDefinitions function core/lib/Drupal/Core/Entity/RevisionableContentEntityBase.php Provides base field definitions for an entity type.
RevisionableContentEntityBaseTest class core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Test the revision system.
RevisionableContentEntityBaseTest.php file core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
RevisionableContentEntityBaseTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Modules to enable.
RevisionableContentEntityBaseTest::assertItemsTableCount function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Asserts the amount of items on entity related tables.
RevisionableContentEntityBaseTest::createRevision function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Creates a new revision in the entity of this test class.
RevisionableContentEntityBaseTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
RevisionableContentEntityBaseTest::testRevisionableContentEntity function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Tests the correct functionality CRUD operations of entity revisions.
RevisionableContentEntityBaseTest::testWasDefaultRevision function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Tests the behavior of the "revision_default" flag.
RevisionableEntity class core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
RevisionableEntityBundleInterface interface core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php Provides an interface defining a revisionable entity bundle.
RevisionableEntityBundleInterface.php file core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php
RevisionableEntityBundleInterface::shouldCreateNewRevision function core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php Gets whether a new revision should be created by default.
RevisionableInterface interface core/lib/Drupal/Core/Entity/RevisionableInterface.php Provides methods for an entity to support revisions.
RevisionableInterface.php file core/lib/Drupal/Core/Entity/RevisionableInterface.php
RevisionableInterface::getLoadedRevisionId function core/lib/Drupal/Core/Entity/RevisionableInterface.php Gets the loaded Revision ID of the entity.
RevisionableInterface::getRevisionId function core/lib/Drupal/Core/Entity/RevisionableInterface.php Gets the revision identifier of the entity.
RevisionableInterface::isDefaultRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks if this entity is the default revision.
RevisionableInterface::isLatestRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks if this entity is the latest revision.
RevisionableInterface::isNewRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Determines whether a new revision should be created on save.
RevisionableInterface::preSaveRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Acts on a revision before it gets saved.
RevisionableInterface::setNewRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Enforces an entity to be saved as a new revision.
RevisionableInterface::updateLoadedRevisionId function core/lib/Drupal/Core/Entity/RevisionableInterface.php Updates the loaded Revision ID with the revision ID.
RevisionableInterface::wasDefaultRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks whether the entity object was a default revision when it was saved.
RevisionableStorageInterface interface core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php A storage that supports revisionable entity types.
RevisionableStorageInterface.php file core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php
RevisionableStorageInterface::createRevision function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Creates a new revision starting off from the specified entity object.
RevisionableStorageInterface::deleteRevision function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Deletes a specific entity revision.
RevisionableStorageInterface::getLatestRevisionId function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Returns the latest revision identifier for an entity.
RevisionableStorageInterface::loadMultipleRevisions function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Loads multiple entity revisions.
RevisionableStorageInterface::loadRevision function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Loads a specific entity revision.
RevisionCreateTimestampTest class core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Ensures that the revision create time can be accessed in views.
RevisionCreateTimestampTest.php file core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionCreateTimestampTest::$modules property core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Modules to enable.
RevisionCreateTimestampTest::$testViews property core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Views to be enabled.
RevisionCreateTimestampTest::setUp function core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionCreateTimestampTest::testRevisionCreateTimestampView function core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionLink class core/modules/node/src/Plugin/views/field/RevisionLink.php Field handler to present a link to a node revision.
RevisionLink.php file core/modules/node/src/Plugin/views/field/RevisionLink.php
RevisionLink::getDefaultLabel function core/modules/node/src/Plugin/views/field/RevisionLink.php Returns the default label for this link.
RevisionLink::getUrlInfo function core/modules/node/src/Plugin/views/field/RevisionLink.php Returns the URI elements of the link.
RevisionLink::renderLink function core/modules/node/src/Plugin/views/field/RevisionLink.php Prepares the link to view a entity.
RevisionLinkDelete class core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php Field handler to present link to delete a node revision.
RevisionLinkDelete.php file core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php

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