Search for preSaveRevision

  1. Search 7.x for preSaveRevision
  2. Search 9.5.x for preSaveRevision
  3. Search 8.9.x for preSaveRevision
  4. Search 10.3.x for preSaveRevision
  5. Other projects
Title Object type File name Summary
BlockContent::preSaveRevision function core/modules/block_content/src/Entity/BlockContent.php Acts on a revision before it gets saved.
ContentEntityBase::preSaveRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testPreSaveRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::preSaveRevision
Media::preSaveRevision function core/modules/media/src/Entity/Media.php Acts on a revision before it gets saved.
Node::preSaveRevision function core/modules/node/src/Entity/Node.php Acts on a revision before it gets saved.
RevisionableInterface::preSaveRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Acts on a revision before it gets saved.
StubRevisionableEntity::preSaveRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Acts on a revision before it gets saved.

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