Converts parameters for upcasting entity IDs to full objects.
Hierarchy
- class \Drupal\language\LanguageConverter implements ParamConverterInterface
File
- core/modules/language/src/LanguageConverter.php, line 12
Namespace
Drupal\language
Members
Name | Modifiers | Type | Description |
---|---|---|---|
LanguageConverter::$languageManager | protected | property | The language manager. |
LanguageConverter::applies | public | function | Determines if the converter applies to a specific route and variable. Overrides ParamConverterInterface::applies |
LanguageConverter::convert | public | function | Converts path variables to their corresponding objects. Overrides ParamConverterInterface::convert |
LanguageConverter::__construct | public | function | Constructs a new LanguageConverter. |
Please login to continue.