public static function ConfigTranslationLocalTasks::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationLocalTasks::create()
- 9 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationLocalTasks::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\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($base_plugin_id, $container
->get('plugin.manager.config_translation.mapper'));
}