1. 8.5.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  2. 8.5.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.3.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  10. 8.3.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  11. 8.4.x core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
  12. 8.4.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  13. 8.6.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
  14. 8.6.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
<?php

namespace Drupal\Core\Entity\Annotation;

use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Defines a config entity type annotation object.
 *
 * The annotation properties of entity types are found on
 * \Drupal\Core\Config\Entity\ConfigEntityType and are accessed using
 * get/set methods defined in \Drupal\Core\Entity\EntityTypeInterface.
 *
 * @ingroup entity_api
 *
 * @Annotation
 */
class ConfigEntityType extends EntityType {

  /**
   * {@inheritdoc}
   */
  public $entity_type_class = 'Drupal\\Core\\Config\\Entity\\ConfigEntityType';

  /**
   * {@inheritdoc}
   */
  public $group = 'configuration';

  /**
   * {@inheritdoc}
   */
  public function get() {
    $this->definition['group_label'] = new TranslatableMarkup('Configuration', array(), array(
      'context' => 'Entity type group',
    ));
    return parent::get();
  }

}

Classes

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