function ShortcutSetDeleteForm::create
Same name in other branches
- 9 core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php \Drupal\shortcut\Form\ShortcutSetDeleteForm::create()
- 10 core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php \Drupal\shortcut\Form\ShortcutSetDeleteForm::create()
- 11.x core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php \Drupal\shortcut\Form\ShortcutSetDeleteForm::create()
Overrides FormBase::create
File
-
core/
modules/ shortcut/ src/ Form/ ShortcutSetDeleteForm.php, line 43
Class
- ShortcutSetDeleteForm
- Builds the shortcut set deletion form.
Namespace
Drupal\shortcut\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('database'), $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.