You are here

public function ConfigEntityRevisionsRevisionStorageHandlerInterface::getLatestPublishedRevisionId in Config Entity Revisions 8.2

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

File

src/ConfigEntityRevisionsRevisionStorageHandlerInterface.php, line 34

Class

ConfigEntityRevisionsRevisionStorageHandlerInterface
Interface ConfigEntityRevisionsRevisionStorageHandlerInterface.

Namespace

Drupal\config_entity_revisions

Code

public function getLatestPublishedRevisionId($ignore = NULL);