public function LingotekContentEntityActionBase::__construct in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.0.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.1.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.2.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.3.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.4.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.5.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.6.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.7.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
- 3.8.x src/Plugin/Action/LingotekContentEntityActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityActionBase::__construct()
Constructs a new UploadToLingotekAction action.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\lingotek\LingotekContentTranslationServiceInterface $translation_service: The Lingotek content translation service.
Overrides EntityActionBase::__construct
File
- src/
Plugin/ Action/ LingotekContentEntityActionBase.php, line 34
Class
Namespace
Drupal\lingotek\Plugin\ActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, LingotekContentTranslationServiceInterface $translation_service) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager);
$this->translationService = $translation_service;
}