You are here

public function ConfigEntityRevisionsStorageInterface::getLatestPublishedRevisionID in Config Entity Revisions 8

Same name and namespace in other branches
  1. 1.x src/ConfigEntityRevisionsStorageInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsStorageInterface::getLatestPublishedRevisionID()

Gets the latest published revision ID of the entity.

Parameters

int $config_entity_id: The config entity ID to match.

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

File

src/ConfigEntityRevisionsStorageInterface.php, line 20

Class

ConfigEntityRevisionsStorageInterface

Namespace

Drupal\config_entity_revisions

Code

public function getLatestPublishedRevisionID($config_entity_id);