Search for isLatestRevision

  1. Search 7.x for isLatestRevision
  2. Search 9.5.x for isLatestRevision
  3. Search 10.3.x for isLatestRevision
  4. Search 11.x for isLatestRevision
  5. Other projects
Title Object type File name Summary
ContentEntityBase::isLatestRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
EntityRevisionsTest::testIsLatestRevision function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests that latest revisions are working as expected.
ModerationInformation::isLatestRevision function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity is a latest revision.
ModerationInformationInterface::isLatestRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity is a latest revision.
ModerationInformationTest::testIsLatestRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isLatestRevision
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::isLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableInterface::isLatestRevision() instead. Seeā€¦
RevisionableInterface::isLatestRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks if this entity is the latest revision.

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