You are here

public function ConfigEntityType::get in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php \Drupal\Core\Entity\Annotation\ConfigEntityType::get()

Gets the value of an annotation.

Overrides EntityType::get

File

core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php, line 39
Contains \Drupal\Core\Entity\Annotation\ConfigEntityType.

Class

ConfigEntityType
Defines a config entity type annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

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