function ConfigTranslationMapperList::__construct

Same name in other branches
  1. 9 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::__construct()
  2. 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.