You are here

public function ConfigEntityRevisionsStorageInterface::getLatestPublishedRevision in Config Entity Revisions 1.x

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

Gets the latest published revision of the entity.

Parameters

int $config_entity_id: The config entity ID to match.

Return value

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

File

src/ConfigEntityRevisionsStorageInterface.php, line 32

Class

ConfigEntityRevisionsStorageInterface

Namespace

Drupal\config_entity_revisions

Code

public function getLatestPublishedRevision($config_entity_id);