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
EntityTestWithRevisionLog class core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestWithRevisionLog.php Defines the test entity class.
EntityTestWithRevisionLog.php file core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestWithRevisionLog.php
EntityTestWithRevisionLog::baseFieldDefinitions function core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestWithRevisionLog.php Provides base field definitions for an entity type.
EntityType::$revision_data_table property core/lib/Drupal/Core/Entity/EntityType.php The name of the entity type's revision data table.
EntityType::$revision_table property core/lib/Drupal/Core/Entity/EntityType.php The name of the entity type's revision table.
EntityType::$show_revision_ui property core/lib/Drupal/Core/Entity/EntityType.php Indicates whether the revision form fields should be added to the form.
EntityType::getRevisionDataTable function core/lib/Drupal/Core/Entity/EntityType.php Gets the name of the entity's revision data table.
EntityType::getRevisionTable function core/lib/Drupal/Core/Entity/EntityType.php Gets the name of the entity's revision table.
EntityType::isRevisionable function core/lib/Drupal/Core/Entity/EntityType.php Indicates whether entities of this type have revision support.
EntityType::showRevisionUi function core/lib/Drupal/Core/Entity/EntityType.php Indicates whether the revision form fields should be added to the form.
EntityTypeInterface::getRevisionDataTable function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the name of the entity's revision data table.
EntityTypeInterface::getRevisionTable function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the name of the entity's revision table.
EntityTypeInterface::isRevisionable function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates whether entities of this type have revision support.
EntityTypeInterface::showRevisionUi function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates whether the revision form fields should be added to the form.
EntityTypeTest::testIsRevisionable function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the isRevisionable() method.
EntityUntranslatableFieldsConstraint::$defaultRevisionMessage property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraint.php
EntityUpdateAddRevisionDefaultTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the upgrade path for adding the 'revision_default' field.
EntityUpdateAddRevisionDefaultTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php
EntityUpdateAddRevisionDefaultTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionDefaultTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The state service.
EntityUpdateAddRevisionDefaultTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Set database dump files to be used.
EntityUpdateAddRevisionDefaultTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionDefaultTest::testAddingTheRevisionDefaultField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the addition of the 'revision_default' base field.
EntityUpdateAddRevisionTranslationAffectedTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the upgrade path for adding the 'revision_translation_affected' field.
EntityUpdateAddRevisionTranslationAffectedTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php
EntityUpdateAddRevisionTranslationAffectedTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionTranslationAffectedTest::$modules property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Modules to enable after the database is loaded.
EntityUpdateAddRevisionTranslationAffectedTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The state service.
EntityUpdateAddRevisionTranslationAffectedTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Set database dump files to be used.
EntityUpdateAddRevisionTranslationAffectedTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionTranslationAffectedTest::testAddingTheRevisionTranslationAffectedField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the addition of the 'revision_translation_affected' base field.
EntityUpdateAddRevisionTranslationAffectedTest::testDeletedEntityType function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the 'revision_translation_affected' field on a deleted entity type.
EntityUrlTest::$revisionId property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The revision ID of the entity used in this test.
EntityUrlTest::DEFAULT_REVISION constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator for default revisions.
EntityUrlTest::NON_DEFAULT_REVISION constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator for non-default revisions.
EntityUrlTest::providerTestToUrlLinkTemplateRevision function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateRevision().
EntityUrlTest::testToUrlLinkTemplateRevision function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with the 'revision' link template.
EntityViewController::viewRevision function core/lib/Drupal/Core/Entity/Controller/EntityViewController.php Provides a page to render a single entity revision.
EntityViewsDataTest::testGetViewsDataWithNonRevisionableEntityOperations function core/modules/views/tests/src/Unit/EntityViewsDataTest.php @covers ::getViewsData[[api-linebreak]]
EntityViewsDataTest::testRevisionTableFields function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Tests fields on the revision table.
EntityViewsDataTest::testRevisionTableWithoutDataTable function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Tests revision table without data table support.
EntityViewsDataTest::testRevisionTableWithRevisionDataTable function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Tests revision table with data table support.
EntityViewsDataTest::testRevisionTableWithRevisionDataTableAndDataTable function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Tests revision table with data table support.
entity_revision_delete function core/includes/entity.inc Deletes an entity revision.
entity_revision_load function core/includes/entity.inc Loads an entity from the database.
entity_test_entity_revision_create function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_entity_revision_create().
entity_test_entity_test_mulrev_revision_create function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_revision_create() for 'entity_test_mulrev'.
entity_test_schema_converter_post_update_make_revisionable function core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.post_update.php Update entity_test_update to be revisionable.
FieldableEntityDefinitionUpdateTest::assertNonRevisionableAndNonTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts that an entity type is neither revisionable nor translatable.
FieldableEntityDefinitionUpdateTest::assertRevisionable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the revisionable characteristics of an entity type.

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