PluralTranslation::get

public PluralTranslation::get()

Gets the value of an annotation.

Overrides AnnotationInterface::get

File

core/lib/Drupal/Core/Annotation/PluralTranslation.php, line 97

Class

PluralTranslation
Defines an annotation object for strings that require plural forms.

Namespace

Drupal\Core\Annotation

Code

public function get() {
  return [
    'singular' => $this->singular,
    'plural' => $this->plural,
    'context' => $this->context,
  ];
}
doc_Drupal
2016-10-29 09:34:20
Comments
Leave a Comment

Please login to continue.