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\Annotation

Code

public $types;
doc_Drupal
2016-10-29 09:22:45
Comments
Leave a Comment

Please login to continue.