1. 8.3.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  2. 8.3.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  3. 8.0.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  4. 8.0.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  5. 8.1.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  6. 8.1.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  7. 8.2.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  8. 8.2.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  9. 8.4.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  10. 8.4.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php

Namespace

Drupal\Core\Entity\Annotation

File

core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
View source
  1. <?php
  2. namespace Drupal\Core\Entity\Annotation;
  3. use Drupal\Core\StringTranslation\TranslatableMarkup;
  4. /**
  5. * Defines a config entity type annotation object.
  6. *
  7. * The annotation properties of entity types are found on
  8. * \Drupal\Core\Config\Entity\ConfigEntityType and are accessed using
  9. * get/set methods defined in \Drupal\Core\Entity\EntityTypeInterface.
  10. *
  11. * @ingroup entity_api
  12. *
  13. * @Annotation
  14. */
  15. class ConfigEntityType extends EntityType {
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public $entity_type_class = 'Drupal\Core\Config\Entity\ConfigEntityType';
  20. /**
  21. * {@inheritdoc}
  22. */
  23. public $group = 'configuration';
  24. /**
  25. * {@inheritdoc}
  26. */
  27. public function get() {
  28. $this->definition['group_label'] = new TranslatableMarkup('Configuration', array(), array('context' => 'Entity type group'));
  29. return parent::get();
  30. }
  31. }

Classes

Namesort descending Description
ConfigEntityType Defines a config entity type annotation object.