public function 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

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

  return parent::get();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Annotation!ConfigEntityType.php/function/ConfigEntityType::get/8.1.x