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\Annotation
Code
public $types;
Please login to continue.