You are here

public function ScheduleRevisionDeleteForm::__construct in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Form/ScheduleRevisionDeleteForm.php \Drupal\business_rules\Form\ScheduleRevisionDeleteForm::__construct()

Constructs a new ScheduleRevisionDeleteForm.

Parameters

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

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

File

src/Form/ScheduleRevisionDeleteForm.php, line 49

Class

ScheduleRevisionDeleteForm
Provides a form for deleting a Schedule revision.

Namespace

Drupal\business_rules\Form

Code

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