public function EasyEmailRevisionRevertTranslationForm::__construct in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Form/EasyEmailRevisionRevertTranslationForm.php \Drupal\easy_email\Form\EasyEmailRevisionRevertTranslationForm::__construct()
Constructs a new EasyEmailRevisionRevertTranslationForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Email storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
Overrides EasyEmailRevisionRevertForm::__construct
File
- src/
Form/ EasyEmailRevisionRevertTranslationForm.php, line 44
Class
- EasyEmailRevisionRevertTranslationForm
- Provides a form for reverting a Email revision for a single translation.
Namespace
Drupal\easy_email\FormCode
public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter, LanguageManagerInterface $language_manager) {
parent::__construct($entity_storage, $date_formatter);
$this->languageManager = $language_manager;
}