You are here

public function ConfigEntityRevisionsStorageTrait::content_entity_type in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8 src/ConfigEntityRevisionsStorageTrait.php \Drupal\config_entity_revisions\ConfigEntityRevisionsStorageTrait::content_entity_type()

Return value

string The name of the content entities that the config entity has.

File

src/ConfigEntityRevisionsStorageTrait.php, line 64

Class

ConfigEntityRevisionsStorageTrait
Defines a trait for modules to use in creating a revisioned config entity.

Namespace

Drupal\config_entity_revisions

Code

public function content_entity_type() {
  return $this->constants['content_entity_type'];
}