public function MerciLineItemRevisionRevertTranslationForm::__construct in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2
Constructs a new MerciLineItemRevisionRevertTranslationForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Merci Line Item storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
Overrides MerciLineItemRevisionRevertForm::__construct
File
- modules/
merci_line_item/ src/ Form/ MerciLineItemRevisionRevertTranslationForm.php, line 44
Class
- MerciLineItemRevisionRevertTranslationForm
- Provides a form for reverting a Merci Line Item revision for a single translation.
Namespace
Drupal\merci_line_item\FormCode
public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter, LanguageManagerInterface $language_manager) {
parent::__construct($entity_storage, $date_formatter);
$this->languageManager = $language_manager;
}