public function HomeboxLayoutRevisionDeleteForm::__construct in Homebox 8
Constructs a new HomeboxLayoutRevisionDeleteForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
- src/
Form/ HomeboxLayoutRevisionDeleteForm.php, line 59
Class
- HomeboxLayoutRevisionDeleteForm
- Provides a form for deleting a Homebox Layout revision.
Namespace
Drupal\homebox\FormCode
public function __construct(EntityStorageInterface $entity_storage, Connection $connection, DateFormatterInterface $date_formatter) {
$this->homeboxLayoutStorage = $entity_storage;
$this->connection = $connection;
$this->dateFormatter = $date_formatter;
}