You are here

public function ContentTranslationLocalTasks::__construct in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  2. 4.0.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  3. 3.0.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  4. 3.1.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  5. 3.2.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  6. 3.3.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  7. 3.4.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  8. 3.5.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  9. 3.6.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  10. 3.7.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()
  11. 3.8.x src/Plugin/Derivative/ContentTranslationLocalTasks.php \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks::__construct()

Constructs a new ContentTranslationLocalTasks.

Parameters

string $base_plugin_id: The base plugin ID.

\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_configuration: The Lingotek configuration service.

File

src/Plugin/Derivative/ContentTranslationLocalTasks.php, line 46
Contains \Drupal\lingotek\Plugin\Derivative\ContentTranslationLocalTasks.

Class

ContentTranslationLocalTasks
Provides dynamic local tasks for Lingotek content translation management.

Namespace

Drupal\lingotek\Plugin\Derivative

Code

public function __construct($base_plugin_id, LingotekConfigurationServiceInterface $lingotek_configuration) {
  $this->basePluginId = $base_plugin_id;
  $this->lingotekConfiguration = $lingotek_configuration;
}