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 11.x for preSaveRevision
  5. Other projects
Title Object type File name Summary
BlockContent::preSaveRevision function core/modules/block_content/src/Entity/BlockContent.php
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
Node::preSaveRevision function core/modules/node/src/Entity/Node.php
RevisionableInterface::preSaveRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.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.