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
EntityDecoupledTranslationRevisionsTest::$translations property core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php The translations of the test entity.
EntityDecoupledTranslationRevisionsTest::dataTestDecoupledPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Data provider for ::testDecoupledDefaultRevisions.
EntityDecoupledTranslationRevisionsTest::dataTestUntranslatableFields function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Data provider for ::testUntranslatableFields.
EntityDecoupledTranslationRevisionsTest::doEditStep function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Saves a new revision of the test entity.
EntityDecoupledTranslationRevisionsTest::doTestEditSequence function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Actually tests an edit step sequence.
EntityDecoupledTranslationRevisionsTest::doTestInternalProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that internal properties are preserved for the specified entity.
EntityDecoupledTranslationRevisionsTest::formatMessage function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Formats an assertion message.
EntityDecoupledTranslationRevisionsTest::generateNewEntityLabel function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Generates a new label for the specified revision.
EntityDecoupledTranslationRevisionsTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
EntityDecoupledTranslationRevisionsTest::testCreateRevisionHook function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that the revision create hook works as expected.
EntityDecoupledTranslationRevisionsTest::testDecoupledPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests decoupled default revisions.
EntityDecoupledTranslationRevisionsTest::testInternalProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests that internal properties are preserved while creating a new revision.
EntityDecoupledTranslationRevisionsTest::testMultipleTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that changes to multiple translations are handled correctly.
EntityDecoupledTranslationRevisionsTest::testRemovedTranslations function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests that deleted translations are not accidentally restored.
EntityDecoupledTranslationRevisionsTest::testUntranslatableFields function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests that untranslatable fields are handled correctly.
EntityDefinitionTestTrait::addRevisionableBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new revisionable base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::renameRevisionBaseTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the revision table to 'entity_test_update_revision_new'.
EntityDefinitionTestTrait::renameRevisionDataTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the revision data table to 'entity_test_update_revision_data_new'.
EntityDefinitionTestTrait::updateEntityTypeToNotRevisionable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type not revisionable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to revisionable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionableAndTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the test entity type to be revisionable and translatable.
EntityDefinitionUpdateTest::testUninstallRevisionableEntityTypeWithoutInCodeDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests uninstalling a revisionable entity type that doesn't exist in code.
EntityDuplicateTest::testDuplicateNonDefaultRevision function core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php Tests duplicating a non-default revision.
EntityFieldTest::testFieldEntityRevisionWrite function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Test setting field values on revisionable entities.
EntityNonRevisionableTranslatableFieldTest class core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php Tests translating a non-revisionable field.
EntityNonRevisionableTranslatableFieldTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php
EntityNonRevisionableTranslatableFieldTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php Modules to install.
EntityNonRevisionableTranslatableFieldTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php
EntityNonRevisionableTranslatableFieldTest::testTranslatingNonRevisionableField function core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php Tests translating a non-revisionable field.
EntityOperations::entityRevisionDelete function core/modules/content_moderation/src/EntityOperations.php
EntityOperationsTest::testPendingRevisions function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that the process of saving pending revisions works as expected.
EntityQueryTest::assertRevisionResult function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php @internal
EntityQueryTest::testConditionOnRevisionMetadataKeys function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests entity queries with condition on the revision metadata keys.
EntityQueryTest::testPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests pending revisions.
EntityRepository::getLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Returns the latest revision translation of the specified entity.
EntityRepository::loadRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Loads the specified entity revision.
EntityRevision class core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Provides entity revision destination plugin.
EntityRevision class core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Mock that exposes from internal methods for testing.
EntityRevision.php file core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
EntityRevision::getEntity function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Gets the entity.
EntityRevision::getEntity function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Allow public access for testing.
EntityRevision::getHighestId function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Returns the highest ID tracked by the implementing plugin.
EntityRevision::getIds function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Gets the destination IDs.
EntityRevision::save function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Saves the entity.
EntityRevision::save function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Allow public access for testing.
EntityRevision::updateEntity function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Don't test method from base class.
EntityRevision::__construct function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Constructs a content entity.
EntityRevisionParamConverter class core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Parameter converter for upcasting entity revision IDs to full objects.
EntityRevisionParamConverter.php file core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php
EntityRevisionParamConverter::$entityRepository property core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php The entity repository.

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