You are here

public function ModerationInformationInterface::getLatestRevisionId in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/ModerationInformationInterface.php \Drupal\workbench_moderation\ModerationInformationInterface::getLatestRevisionId()

Returns the revision ID of the latest revision of the given entity.

Parameters

string $entity_type_id: The entity type ID.

int $entity_id: The entity ID.

Return value

int The revision ID of the latest revision for the specified entity, or NULL if there is no such entity.

1 method overrides ModerationInformationInterface::getLatestRevisionId()
ModerationInformation::getLatestRevisionId in src/ModerationInformation.php
Returns the revision ID of the latest revision of the given entity.

File

src/ModerationInformationInterface.php, line 158

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\workbench_moderation

Code

public function getLatestRevisionId($entity_type_id, $entity_id);