public function UpdateUtilsInterface::getLatestRevisionId in Scheduled Updates 8
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 UpdateUtilsInterface::getLatestRevisionId()
- UpdateUtils::getLatestRevisionId in src/
UpdateUtils.php - Returns the revision ID of the latest revision of the given entity.
File
- src/
UpdateUtilsInterface.php, line 119
Class
- UpdateUtilsInterface
- Service to determine information about Scheduled Update Types
Namespace
Drupal\scheduled_updatesCode
public function getLatestRevisionId($entity_type_id, $entity_id);