Search for isNewRevision

  1. Search 7.x for isNewRevision
  2. Search 9.5.x for isNewRevision
  3. Search 10.3.x for isNewRevision
  4. Search 11.x for isNewRevision
  5. Other projects
Title Object type File name Summary
ContentEntityBase::isNewRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testIsNewRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isNewRevision
@covers ::setNewRevision
NodeLegacyTest::testNodeTypeIsNewRevision function core/modules/node/tests/src/Kernel/NodeLegacyTest.php Tests that NodeType::isNewRevision() triggers a deprecation error.
NodeType::isNewRevision function core/modules/node/src/Entity/NodeType.php Gets whether a new revision should be created by default.
NodeTypeInterface::isNewRevision function core/modules/node/src/NodeTypeInterface.php Gets whether a new revision should be created by default.
RevisionableInterface::isNewRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Determines whether a new revision should be created on save.

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