You are here

public function ConfigEntityRevisionsConfigEntityTrait::setContentEntityId in Config Entity Revisions 8.2

Set in the configEntity an identifier for the matching content entity.

Parameters

mixed $contentEntityID: The ID used to match the content entity.

File

src/ConfigEntityRevisionsConfigEntityTrait.php, line 243

Class

ConfigEntityRevisionsConfigEntityTrait
Trait ConfigEntityRevisionsConfigEntityTrait.

Namespace

Drupal\config_entity_revisions

Code

public function setContentEntityId($contentEntityID) {
  $this
    ->setThirdPartySetting($this
    ->moduleName(), 'contentEntity_id', $contentEntityID);
}