function ContentEntityType::get
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php \Drupal\Core\Entity\Annotation\ContentEntityType::get()
- 10 core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php \Drupal\Core\Entity\Annotation\ContentEntityType::get()
- 11.x core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php \Drupal\Core\Entity\Annotation\ContentEntityType::get()
Overrides EntityType::get
File
-
core/
lib/ Drupal/ Core/ Entity/ Annotation/ ContentEntityType.php, line 35
Class
- ContentEntityType
- Defines a content entity type annotation object.
Namespace
Drupal\Core\Entity\AnnotationCode
public function get() {
$this->definition['group_label'] = new TranslatableMarkup('Content', [], [
'context' => 'Entity type group',
]);
return parent::get();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.