Search for createRevision

  1. Search 7.x for createRevision
  2. Search 9.5.x for createRevision
  3. Search 8.9.x for createRevision
  4. Search 10.3.x for createRevision
  5. Other projects
Title Object type File name Summary
ContentEntityStorageBase::createRevision function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
ContentTranslationFieldSyncRevisionTest::createRevision function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Creates a new revision starting from the latest translation-affecting one.
EntityDecoupledTranslationRevisionsTest::testCreateRevisionHook function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that the revision create hook works as expected.
KeyValueContentEntityStorage::createRevision function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php
NodeRevisionsTest::createRevisions function core/modules/node/tests/src/Functional/NodeRevisionsTest.php Creates a series of revisions for the specified node.
RevisionableContentEntityBaseTest::createRevision function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Creates a new revision in the entity of this test class.
RevisionableStorageInterface::createRevision function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Creates a new revision starting off from the specified entity object.
TranslatableRevisionableStorageInterface::createRevision function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Creates a new revision starting off from the specified entity object.

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