function ContentTranslationContextualLinks::create
Same name in other branches
- 9 core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks::create()
- 8.9.x core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks::create()
- 10 core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks::create()
Overrides ContainerDeriverInterface::create
File
-
core/
modules/ content_translation/ src/ Plugin/ Derivative/ ContentTranslationContextualLinks.php, line 40
Class
- ContentTranslationContextualLinks
- Provides dynamic contextual links for content translation.
Namespace
Drupal\content_translation\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container->get('content_translation.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.