You are here

public function ConfigEntityRevisionsConfigTrait::getRevisionId in Config Entity Revisions 8

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

Gets the revision identifier of the entity.

Return value

int The revision identifier of the entity, or NULL if the entity does not have a revision identifier.

1 call to ConfigEntityRevisionsConfigTrait::getRevisionId()
ConfigEntityRevisionsConfigTrait::getContentEntity in src/ConfigEntityRevisionsConfigTrait.php
Default revision of revisions entity that matches the config entity.

File

src/ConfigEntityRevisionsConfigTrait.php, line 32

Class

ConfigEntityRevisionsConfigTrait

Namespace

Drupal\config_entity_revisions

Code

public function getRevisionId() {
  return $this->loadedRevisionId;
}