public function ModerationInformationInterface::getLatestRevisionId in Config Entity Revisions 8.2
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.
File
- src/
ModerationInformationInterface.php, line 79
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\config_entity_revisionsCode
public function getLatestRevisionId($entity_type_id, $entity_id);