You are here

public function ConfigEntityRevisionsStorageInterface::getLatestRevision in Config Entity Revisions 8

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

Gets the latest revision of the entity.

Parameters

int $config_entity_id: The config entity ID to match.

Return value

RevisionableStorageInterface; The identifier of the latest revision of the entity, or NULL if the entity does not have a revision.

1 method overrides ConfigEntityRevisionsStorageInterface::getLatestRevision()
ConfigEntityRevisionsStorage::getLatestRevision in src/Entity/Handler/ConfigEntityRevisionsStorage.php
Gets the latest revision ID of the entity.

File

src/ConfigEntityRevisionsStorageInterface.php, line 44

Class

ConfigEntityRevisionsStorageInterface

Namespace

Drupal\config_entity_revisions

Code

public function getLatestRevision($config_entity_id);