public function ConfigEntityRevisionsConfigTrait::contentEntityStorage in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8 src/ConfigEntityRevisionsConfigTrait.php \Drupal\config_entity_revisions\ConfigEntityRevisionsConfigTrait::contentEntityStorage()
Get the revisions entity storage.
Return value
ContentEntityStorageInterface The storage for the revisions entity.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
1 call to ConfigEntityRevisionsConfigTrait::contentEntityStorage()
- ConfigEntityRevisionsConfigTrait::getContentEntity in src/
ConfigEntityRevisionsConfigTrait.php - Default revision of revisions entity that matches the config entity.
File
- src/
ConfigEntityRevisionsConfigTrait.php, line 68
Class
Namespace
Drupal\config_entity_revisionsCode
public function contentEntityStorage() {
return $this->entityTypeManager
->getStorage('config_entity_revisions');
}