function ConfigTranslationContextualLinks::create

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

Overrides ContainerDeriverInterface::create

File

core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php, line 35

Class

ConfigTranslationContextualLinks
Provides dynamic contextual links for configuration translation.

Namespace

Drupal\config_translation\Plugin\Derivative

Code

public static function create(ContainerInterface $container, $base_plugin_id) {
    return new static($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.