Search for isLatestRevision

  1. Search 7.x for isLatestRevision
  2. Search 9.5.x for isLatestRevision
  3. Search 8.9.x for isLatestRevision
  4. Search 10.3.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.
RevisionableInterface::isLatestRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks if this entity is the latest revision.
StubRevisionableEntity::isLatestRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.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.