function SwitchShortcutSet::create
Same name in other branches
- 9 core/modules/shortcut/src/Form/SwitchShortcutSet.php \Drupal\shortcut\Form\SwitchShortcutSet::create()
- 10 core/modules/shortcut/src/Form/SwitchShortcutSet.php \Drupal\shortcut\Form\SwitchShortcutSet::create()
- 11.x core/modules/shortcut/src/Form/SwitchShortcutSet.php \Drupal\shortcut\Form\SwitchShortcutSet::create()
Overrides FormBase::create
File
-
core/
modules/ shortcut/ src/ Form/ SwitchShortcutSet.php, line 47
Class
- SwitchShortcutSet
- Builds the shortcut set switch form.
Namespace
Drupal\shortcut\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager')
->getStorage('shortcut_set'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.