You are here

public function ViewsRevisions::getContentEntityID in Config Entity Revisions 8

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

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

Return value

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

Overrides ConfigEntityRevisionsInterface::getContentEntityID

File

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

Class

ViewsRevisions

Namespace

Drupal\views_revisions\Entity

Code

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