function ConfigTranslationLocalTasks::create

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

Overrides ContainerDeriverInterface::create

File

core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php, line 45

Class

ConfigTranslationLocalTasks
Provides dynamic local tasks for config translation.

Namespace

Drupal\config_translation\Plugin\Derivative

Code

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

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