Search for getLatestRevision

  1. Search 7.x for getLatestRevision
  2. Search 9.5.x for getLatestRevision
  3. Search 10.3.x for getLatestRevision
  4. Search 11.x for getLatestRevision
  5. Other projects
Title Object type File name Summary
ContentEntityStorageBase::getLatestRevisionId function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Returns the latest revision identifier for an entity.
KeyValueContentEntityStorage::getLatestRevisionId function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Returns the latest revision identifier for an entity.
ModerationInformation::getLatestRevision function core/modules/content_moderation/src/ModerationInformation.php Loads the latest revision of a specific entity.
ModerationInformation::getLatestRevisionId function core/modules/content_moderation/src/ModerationInformation.php Returns the revision ID of the latest revision of the given entity.
ModerationInformationInterface::getLatestRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Loads the latest revision of a specific entity.
ModerationInformationInterface::getLatestRevisionId function core/modules/content_moderation/src/ModerationInformationInterface.php Returns the revision ID of the latest revision of the given entity.
ModerationInformationTest::testGetLatestRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getLatestRevision
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableStorageInterface::getLatestRevisionId()…
ModerationInformationTest::testGetLatestRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getLatestRevisionId
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevisionId is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use…
NodeAccessTest::testGetLatestRevisionId function core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php @covers \Drupal\content_moderation\ModerationInformation::getLatestRevisionId
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevisionId is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use…
RevisionableStorageInterface::getLatestRevisionId function core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php Returns the latest revision identifier for an entity.

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