function 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.