You are here

public function ConfigTranslationMapperList::__construct in Drupal 8

Same name and namespace in other branches
  1. 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;
}