public static function ContentTranslationLocalTasks::create in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 4.0.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.0.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.1.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.2.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.3.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.4.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.5.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.6.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.7.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::create()
- 3.8.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::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/ ContentTranslationLocalTasks.php, line 54 - Contains \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks.
Class
- ContentTranslationLocalTasks
- Provides dynamic local tasks 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'));
}