Same filename in this branch
- 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
- 10 core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
- 9 core/lib/Drupal/Core/Entity/Annotation/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;
class ConfigEntityType extends EntityType {
public $entity_type_class = 'Drupal\\Core\\Config\\Entity\\ConfigEntityType';
public $group = 'configuration';
public function get() {
$this->definition['group_label'] = new TranslatableMarkup('Configuration', [], [
'context' => 'Entity type group',
]);
return parent::get();
}
}
Classes