public function ContentTranslationLocalTasks::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
Constructs a new ContentTranslationLocalTasks.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager.
File
- core/
modules/ content_translation/ src/ Plugin/ Derivative/ ContentTranslationLocalTasks.php, line 42 - Contains \Drupal\content_translation\Plugin\Derivative\ContentTranslationLocalTasks.
Class
- ContentTranslationLocalTasks
- Provides dynamic local tasks for content translation.
Namespace
Drupal\content_translation\Plugin\DerivativeCode
public function __construct($base_plugin_id, ContentTranslationManagerInterface $content_translation_manager) {
$this->basePluginId = $base_plugin_id;
$this->contentTranslationManager = $content_translation_manager;
}