public function ShortcutSetDeleteForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php \Drupal\shortcut\Form\ShortcutSetDeleteForm::__construct()
Constructs a ShortcutSetDeleteForm object.
File
- core/
modules/ shortcut/ src/ Form/ ShortcutSetDeleteForm.php, line 35
Class
- ShortcutSetDeleteForm
- Builds the shortcut set deletion form.
Namespace
Drupal\shortcut\FormCode
public function __construct(Connection $database, ShortcutSetStorageInterface $storage) {
$this->database = $database;
$this->storage = $storage;
}