public function ConfigTranslationMapperList::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::__construct()
- 9 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::__construct()
Constructs a new ConfigTranslationMapperList object.
Parameters
\Drupal\config_translation\ConfigMapperInterface[] $mappers: The configuration mapper manager.
File
- core/
modules/ config_translation/ src/ Controller/ ConfigTranslationMapperList.php, line 29
Class
- ConfigTranslationMapperList
- Defines the configuration translation mapper list.
Namespace
Drupal\config_translation\ControllerCode
public function __construct(array $mappers) {
$this->mappers = $mappers;
}