You are here

public function ConfigEntityRevisionsConfigEntityTrait::getContentEntityId in Config Entity Revisions 8.2

Get from the configEntity the ID of the matching content entity.

Return value

int|null The ID (if any) of the matching content entity.

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

File

src/ConfigEntityRevisionsConfigEntityTrait.php, line 253

Class

ConfigEntityRevisionsConfigEntityTrait
Trait ConfigEntityRevisionsConfigEntityTrait.

Namespace

Drupal\config_entity_revisions

Code

public function getContentEntityId() {
  return $this
    ->getThirdPartySetting($this
    ->moduleName(), 'contentEntity_id');
}