public function ConfigEntityRevisionsRevisionStorageHandlerInterface::getLatestRevision in Config Entity Revisions 8.2
Gets the latest revision of the entity.
Parameters
int $ignore: A revision ID to ignore.
Return value
int The identifier of the latest published revision of the entity, or NULL if the entity does not have a published revision.
1 method overrides ConfigEntityRevisionsRevisionStorageHandlerInterface::getLatestRevision()
- ConfigEntityRevisionsRevisionStorageHandler::getLatestRevision in src/
Entity/ Handler/ ConfigEntityRevisionsRevisionStorageHandler.php - Gets the latest revision of the entity.
File
Class
- ConfigEntityRevisionsRevisionStorageHandlerInterface
- Interface ConfigEntityRevisionsRevisionStorageHandlerInterface.
Namespace
Drupal\config_entity_revisionsCode
public function getLatestRevision($ignore = NULL);