You are here

public function EasyEmailRevisionRevertForm::__construct in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Form/EasyEmailRevisionRevertForm.php \Drupal\easy_email\Form\EasyEmailRevisionRevertForm::__construct()

Constructs a new EasyEmailRevisionRevertForm.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Email storage.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

1 call to EasyEmailRevisionRevertForm::__construct()
EasyEmailRevisionRevertTranslationForm::__construct in src/Form/EasyEmailRevisionRevertTranslationForm.php
Constructs a new EasyEmailRevisionRevertTranslationForm.
1 method overrides EasyEmailRevisionRevertForm::__construct()
EasyEmailRevisionRevertTranslationForm::__construct in src/Form/EasyEmailRevisionRevertTranslationForm.php
Constructs a new EasyEmailRevisionRevertTranslationForm.

File

src/Form/EasyEmailRevisionRevertForm.php, line 50

Class

EasyEmailRevisionRevertForm
Provides a form for reverting a Email revision.

Namespace

Drupal\easy_email\Form

Code

public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter) {
  $this->EasyEmailStorage = $entity_storage;
  $this->dateFormatter = $date_formatter;
}