function ConfigTranslationMapperList::create

Same name in other branches
  1. 9 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::create()
  2. 10 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::create()
  3. 11.x core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::create()

Overrides ControllerBase::create

File

core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php, line 36

Class

ConfigTranslationMapperList
Defines the configuration translation mapper list.

Namespace

Drupal\config_translation\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.config_translation.mapper')
        ->getMappers());
}

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