public property LanguageNegotiation::$types in Drupal 9
Same name and namespace in other branches
- 8 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;