You are here

public function ViewsRevisions::setContentEntityID in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8 modules/views_revisions/src/Entity/ViewsRevisions.php \Drupal\views_revisions\Entity\ViewsRevisions::setContentEntityID()

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

Parameters

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

Overrides ConfigEntityRevisionsInterface::setContentEntityID

File

modules/views_revisions/src/Entity/ViewsRevisions.php, line 55

Class

ViewsRevisions

Namespace

Drupal\views_revisions\Entity

Code

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