public function EventRevisionDeleteForm::__construct in Event 8
Constructs a new EventRevisionDeleteForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.
\Drupal\Core\Database\Connection $connection: The database connection.
File
- src/
Form/ EventRevisionDeleteForm.php, line 50
Class
- EventRevisionDeleteForm
- Provides a form for deleting a Event revision.
Namespace
Drupal\event\FormCode
public function __construct(EntityStorageInterface $entity_storage, Connection $connection) {
$this->eventStorage = $entity_storage;
$this->connection = $connection;
}