W3cubDocs

/Drupal 8

public function Translation::get

public Translation::get()

Gets the value of an annotation.

Overrides AnnotationInterface::get

File

core/lib/Drupal/Core/Annotation/Translation.php, line 90

Class

Translation
Defines a translatable annotation object.

Namespace

Drupal\Core\Annotation

Code

public function get() {
  return $this->translation;
}

© 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!Annotation!Translation.php/function/Translation::get/8.1.x