You are here

public function RelationTypeDeleteConfirm::__construct in Relation 8

Same name and namespace in other branches
  1. 8.2 src/Form/RelationTypeDeleteConfirm.php \Drupal\relation\Form\RelationTypeDeleteConfirm::__construct()

Constructs a new RelationTypeDeleteConfirm object.

Parameters

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

File

src/Form/RelationTypeDeleteConfirm.php, line 34
Contains \Drupal\relation\Form\RelationTypeDeleteConfirm.

Class

RelationTypeDeleteConfirm
Provides a form for relation type deletion.

Namespace

Drupal\relation\Form

Code

public function __construct(Connection $database) {
  $this->database = $database;
}