You are here

public function HomeboxLayoutRevisionRevertTranslationForm::__construct in Homebox 8

Constructs a new HomeboxLayoutRevisionRevertTranslationForm.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Homebox Layout storage.

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

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

Overrides HomeboxLayoutRevisionRevertForm::__construct

File

src/Form/HomeboxLayoutRevisionRevertTranslationForm.php, line 46

Class

HomeboxLayoutRevisionRevertTranslationForm
Homebox Layout revision reverting form for a single translation.

Namespace

Drupal\homebox\Form

Code

public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter, LanguageManagerInterface $language_manager, TimeInterface $time) {
  parent::__construct($entity_storage, $date_formatter, $time);
  $this->languageManager = $language_manager;
}