Search for setNewRevision

  1. Search 7.x for setNewRevision
  2. Search 9.5.x for setNewRevision
  3. Search 8.9.x for setNewRevision
  4. Search 10.3.x for setNewRevision
  5. Other projects
Title Object type File name Summary
ContentEntityBase::setNewRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testSetNewRevisionException function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::setNewRevision
EntityRevisionTranslationTest::testSetNewRevision function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php @covers \Drupal\Core\Entity\ContentEntityBase::setNewRevision
MediaType::setNewRevision function core/modules/media/src/Entity/MediaType.php Sets whether new revisions should be created by default.
MediaTypeInterface::setNewRevision function core/modules/media/src/MediaTypeInterface.php Sets whether new revisions should be created by default.
NodeType::setNewRevision function core/modules/node/src/Entity/NodeType.php Sets whether a new revision should be created by default.
NodeTypeInterface::setNewRevision function core/modules/node/src/NodeTypeInterface.php Sets whether a new revision should be created by default.
RevisionableInterface::setNewRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Enforces an entity to be saved as a new revision.
Vocabulary::setNewRevision function core/modules/taxonomy/src/Entity/Vocabulary.php Sets whether a new revision should be created by default.
VocabularyInterface::setNewRevision function core/modules/taxonomy/src/VocabularyInterface.php Sets whether a new revision should be created by default.

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