ConfigEntityType::get

public ConfigEntityType::get()

Gets the value of an annotation.

Overrides EntityType::get

File

core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php, line 33

Class

ConfigEntityType
Defines a config entity type annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

1
2
3
4
5
public function get() {
  $this->definition['group_label'] = new TranslatableMarkup('Configuration', array(), array('context' => 'Entity type group'));
 
  return parent::get();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.