You are here

public function HeartbeatRevisionDeleteForm::__construct in Heartbeat 8

Constructs a new HeartbeatRevisionDeleteForm.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.

\Drupal\Core\Database\Connection $connection: The database connection.

File

src/Form/HeartbeatRevisionDeleteForm.php, line 49

Class

HeartbeatRevisionDeleteForm
Provides a form for deleting a Heartbeat revision.

Namespace

Drupal\heartbeat\Form

Code

public function __construct(EntityStorageInterface $entity_storage, Connection $connection) {
  $this->HeartbeatStorage = $entity_storage;
  $this->connection = $connection;
}