public function LingotekElementInfoAlterForm::__construct in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 4.0.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.0.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.1.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.2.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.3.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.4.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.6.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.7.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
- 3.8.x src/Form/LingotekElementInfoAlterForm.php \Drupal\lingotek\Form\LingotekElementInfoAlterForm::__construct()
Constructs a new LingotekElementInfoAlterForm object.
Parameters
\Drupal\Core\Session\AccountInterface $current_user: The current user.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: An entity type manager object.
\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route builder service.
\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_configuration: The Lingotek configuration service.
File
- src/
Form/ LingotekElementInfoAlterForm.php, line 70
Class
- LingotekElementInfoAlterForm
- Adds the option to use Lingotek to translate content entities
Namespace
Drupal\lingotek\FormCode
public function __construct(AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager, RouteBuilderInterface $route_builder, LingotekConfigurationServiceInterface $lingotek_configuration) {
$this->currentUser = $current_user;
$this->entityTypeManager = $entity_type_manager;
$this->routeBuilder = $route_builder;
$this->lingotekConfiguration = $lingotek_configuration;
}