public static function ContentTranslationMenuLinks::create in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 4.0.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.0.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.1.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.2.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.3.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.5.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.6.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.7.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
- 3.8.x src/Plugin/Derivative/ContentTranslationMenuLinks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationMenuLinks::create()
Creates a new class instance.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The container to pull out services used in the fetcher.
string $base_plugin_id: The base plugin ID for the plugin ID.
Return value
static Returns an instance of this fetcher.
Overrides ContainerDeriverInterface::create
File
- src/
Plugin/ Derivative/ ContentTranslationMenuLinks.php, line 48
Class
- ContentTranslationMenuLinks
- Provides dynamic menu links for Lingotek content translation management.
Namespace
Drupal\lingotek\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($base_plugin_id, $container
->get('lingotek.configuration'));
}