function SwitchShortcutSet::__construct
Same name in other branches
- 9 core/modules/shortcut/src/Form/SwitchShortcutSet.php \Drupal\shortcut\Form\SwitchShortcutSet::__construct()
- 8.9.x core/modules/shortcut/src/Form/SwitchShortcutSet.php \Drupal\shortcut\Form\SwitchShortcutSet::__construct()
- 11.x core/modules/shortcut/src/Form/SwitchShortcutSet.php \Drupal\shortcut\Form\SwitchShortcutSet::__construct()
Constructs a SwitchShortcutSet object.
Parameters
\Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage: The shortcut set storage.
File
-
core/
modules/ shortcut/ src/ Form/ SwitchShortcutSet.php, line 40
Class
- SwitchShortcutSet
- Builds the shortcut set switch form.
Namespace
Drupal\shortcut\FormCode
public function __construct(ShortcutSetStorageInterface $shortcut_set_storage) {
$this->shortcutSetStorage = $shortcut_set_storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.