public function ProfileTypeDeleteForm::__construct in Profile 2 8
Constructs a new NodeTypeDeleteConfirm object.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
File
- src/
Form/ ProfileTypeDeleteForm.php, line 35 - Contains \Drupal\profile\Form\ProfileTypeDeleteForm.
Class
- ProfileTypeDeleteForm
- Provides a confirmation form for deleting a Profile type entity.
Namespace
Drupal\profile\FormCode
public function __construct(Connection $database) {
$this->database = $database;
}