You are here

public function ConfigEntityRevisionsInterface::getContentEntity in Config Entity Revisions 8

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

Default revision of revisions entity that matches the config entity.

Return value

\Drupal\Core\Entity\EntityInterface|null The matching entity.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/ConfigEntityRevisionsInterface.php, line 120

Class

ConfigEntityRevisionsInterface
ConfigEntityRevisionsInterface.

Namespace

Drupal\config_entity_revisions

Code

public function getContentEntity();