public function HomeboxLayoutRevisionRevertForm::__construct in Homebox 8
Constructs a new HomeboxLayoutRevisionRevertForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Homebox Layout storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
1 call to HomeboxLayoutRevisionRevertForm::__construct()
- HomeboxLayoutRevisionRevertTranslationForm::__construct in src/
Form/ HomeboxLayoutRevisionRevertTranslationForm.php - Constructs a new HomeboxLayoutRevisionRevertTranslationForm.
1 method overrides HomeboxLayoutRevisionRevertForm::__construct()
- HomeboxLayoutRevisionRevertTranslationForm::__construct in src/
Form/ HomeboxLayoutRevisionRevertTranslationForm.php - Constructs a new HomeboxLayoutRevisionRevertTranslationForm.
File
- src/
Form/ HomeboxLayoutRevisionRevertForm.php, line 60
Class
- HomeboxLayoutRevisionRevertForm
- Provides a form for reverting a Homebox Layout revision.
Namespace
Drupal\homebox\FormCode
public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter, TimeInterface $time) {
$this->homeboxLayoutStorage = $entity_storage;
$this->dateFormatter = $date_formatter;
$this->time = $time;
}