function ShortcutSetController::create

Same name in other branches
  1. 9 core/modules/shortcut/src/Controller/ShortcutSetController.php \Drupal\shortcut\Controller\ShortcutSetController::create()

Overrides ControllerBase::create

File

core/modules/shortcut/src/Controller/ShortcutSetController.php, line 37

Class

ShortcutSetController
Builds the page for administering shortcut sets.

Namespace

Drupal\shortcut\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('path.validator'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.