Search for isDefaultRevision

  1. Search 7.x for isDefaultRevision
  2. Search 9.5.x for isDefaultRevision
  3. Search 8.9.x for isDefaultRevision
  4. Search 10.3.x for isDefaultRevision
  5. Other projects
Title Object type File name Summary
ContentEntityBase::$isDefaultRevision property core/lib/Drupal/Core/Entity/ContentEntityBase.php Indicates whether this is the default revision.
ContentEntityBase::isDefaultRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testIsDefaultRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isDefaultRevision
ContentModerationState::isDefaultRevisionState function core/modules/content_moderation/src/ContentModerationState.php Determines if entities should be the default revision if in this state.
ModerationInformation::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformationInterface::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if the default revision for the given entity is published.
ModerationInformationTest::isDefaultRevisionPublishedTestCases function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Test cases for ::testIsDefaultRevisionPublished.
ModerationInformationTest::testIsDefaultRevisionPublished function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
@dataProvider isDefaultRevisionPublishedTestCases
ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
RevisionableInterface::isDefaultRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks if this entity is the default revision.
StubRevisionableEntity::isDefaultRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Checks if this entity is the default revision.

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