You are here

public function ConfigTranslationMapperList::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::__construct()
  2. 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\Controller

Code

public function __construct(array $mappers) {
  $this->mappers = $mappers;
}