PluralTranslation::$context

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::context
  2. 10 core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::context
  3. 11.x core/lib/Drupal/Core/Annotation/PluralTranslation.php \Drupal\Core\Annotation\PluralTranslation::context

The context the source strings belong to.

Type: string

File

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

Class

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

Namespace

Drupal\Core\Annotation

Code

protected $context;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.