public function ContentEntityType::get in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php \Drupal\Core\Entity\Annotation\ContentEntityType::get()
Gets the value of an annotation.
Overrides EntityType::get
File
- core/
lib/ Drupal/ Core/ Entity/ Annotation/ ContentEntityType.php, line 39 - Contains \Drupal\Core\Entity\Annotation\ContentEntityType.
Class
- ContentEntityType
- Defines a content entity type annotation object.
Namespace
Drupal\Core\Entity\AnnotationCode
public function get() {
$this->definition['group_label'] = new TranslatableMarkup('Content', array(), array(
'context' => 'Entity type group',
));
return parent::get();
}