function PluralTranslation::get
Same name in other branches
- 9 core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::get()
- 8.9.x core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::get()
- 11.x core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::get()
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\AnnotationCode
public function get() {
return [
'singular' => $this->singular,
'plural' => $this->plural,
'context' => $this->context,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.