PluralTranslation::$singular
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::singular
- 10 core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::singular
- 11.x core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::singular
The string for the singular case.
Type: string
File
-
core/
lib/ Drupal/ Core/ Annotation/ PluralTranslation.php, line 50
Class
- PluralTranslation
- Defines an annotation object for strings that require plural forms.
Namespace
Drupal\Core\AnnotationCode
protected $singular;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.