SwitchShortcutSet::__construct

public SwitchShortcutSet::__construct(ShortcutSetStorageInterface $shortcut_set_storage)

Constructs a SwitchShortcutSet object.

Parameters

\Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage: The shortcut set storage.

File

core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 37

Class

SwitchShortcutSet
Builds the shortcut set switch form.

Namespace

Drupal\shortcut\Form

Code

public function __construct(ShortcutSetStorageInterface $shortcut_set_storage) {
  $this->shortcutSetStorage = $shortcut_set_storage;
}
doc_Drupal
2016-10-29 09:45:32
Comments
Leave a Comment

Please login to continue.