function ShortcutSetDeleteForm::__construct

Same name in other branches
  1. 9 core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php \Drupal\shortcut\Form\ShortcutSetDeleteForm::__construct()
  2. 8.9.x core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php \Drupal\shortcut\Form\ShortcutSetDeleteForm::__construct()
  3. 10 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\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.