3 namespace Drupal\Core\Entity\Annotation;
5 use Drupal\Core\StringTranslation\TranslatableMarkup;
8 * Defines a config entity type annotation object.
10 * The annotation properties of entity types are found on
11 * \Drupal\Core\Config\Entity\ConfigEntityType and are accessed using
12 * get/set methods defined in \Drupal\Core\Entity\EntityTypeInterface.
18 class ConfigEntityType extends EntityType {
23 public $entity_type_class = 'Drupal\Core\Config\Entity\ConfigEntityType';
28 public $group = 'configuration';
33 public function get() {
34 $this->definition['group_label'] = new TranslatableMarkup('Configuration', [], ['context' => 'Entity type group']);