Newer
Older
Alex Pott
committed
<?php
Alex Pott
committed
/**
* @file
* Contains \Drupal\shortcut\Form\ShortcutForm.
*/
namespace Drupal\shortcut\Form;
use Drupal\user\UserInterface;
/**
* Temporary form controller for shortcut module.
*/
class ShortcutForm {
/**
* Wraps shortcut_set_switch().
*
* @todo Remove shortcut_set_switch().
*/
public function overview(UserInterface $user) {
module_load_include('admin.inc', 'shortcut');
return \Drupal::formBuilder()->getForm('shortcut_set_switch', $user);