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