You are here

public function ConfigEntityRevisionsConfigEntityTrait::revisionedEntity in Config Entity Revisions 8.2

Get the revisioned entity - itself by default.

Return value

\Drupal\Core\Config\Entity\ConfigEntityInterface The entity which is revisioned.

1 method overrides ConfigEntityRevisionsConfigEntityTrait::revisionedEntity()
ContactFormRevisionsTrait::revisionedEntity in modules/contact_form_revisions/src/ContactFormRevisionsTrait.php
Get the entity that actually has revisions.

File

src/ConfigEntityRevisionsConfigEntityTrait.php, line 233

Class

ConfigEntityRevisionsConfigEntityTrait
Trait ConfigEntityRevisionsConfigEntityTrait.

Namespace

Drupal\config_entity_revisions

Code

public function revisionedEntity() {
  return $this;
}