You are here

public function ConfigEntityRevisionsConfigTrait::configEntityStorage in Config Entity Revisions 8

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

Get the config entity storage.

Return value

ConfigEntityStorageInterface The storage for the config entity.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/ConfigEntityRevisionsConfigTrait.php, line 55

Class

ConfigEntityRevisionsConfigTrait

Namespace

Drupal\config_entity_revisions

Code

public function configEntityStorage() {
  return $this->entityTypeManager
    ->getStorage('config_entity_revisions');
}