LanguageNegotiation::$types
Same name in other branches
- 9 core/modules/language/src/Annotation/LanguageNegotiation.php \Drupal\language\Annotation\LanguageNegotiation::types
- 8.9.x core/modules/language/src/Annotation/LanguageNegotiation.php \Drupal\language\Annotation\LanguageNegotiation::types
- 10 core/modules/language/src/Annotation/LanguageNegotiation.php \Drupal\language\Annotation\LanguageNegotiation::types
An array of allowed language types.
If a language negotiation plugin does not specify which language types it should be used with, it will be available for all the configurable language types.
An array of language types, such as the \Drupal\Core\Language\LanguageInterface::TYPE_* constants.
Type: string[]
File
-
core/
modules/ language/ src/ Annotation/ LanguageNegotiation.php, line 43
Class
- LanguageNegotiation
- Defines a language negotiation annotation object.
Namespace
Drupal\language\AnnotationCode
public $types;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.