You are here

public function ConfigEntityRevisionsRevisionStorageHandlerInterface::getLatestPublishedRevisionOrLatestId in Config Entity Revisions 8.2

Gets the latest revision ID 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::getLatestPublishedRevisionOrLatestId()
ConfigEntityRevisionsRevisionStorageHandler::getLatestPublishedRevisionOrLatestId in src/Entity/Handler/ConfigEntityRevisionsRevisionStorageHandler.php
Gets the latest revision ID of the entity.

File

src/ConfigEntityRevisionsRevisionStorageHandlerInterface.php, line 79

Class

ConfigEntityRevisionsRevisionStorageHandlerInterface
Interface ConfigEntityRevisionsRevisionStorageHandlerInterface.

Namespace

Drupal\config_entity_revisions

Code

public function getLatestPublishedRevisionOrLatestId($ignore = NULL);