function ShortcutSetController::__construct

Same name and namespace in other branches
  1. 8.9.x core/modules/shortcut/src/Controller/ShortcutSetController.php \Drupal\shortcut\Controller\ShortcutSetController::__construct()
  2. 10 core/modules/shortcut/src/Controller/ShortcutSetController.php \Drupal\shortcut\Controller\ShortcutSetController::__construct()
  3. 11.x core/modules/shortcut/src/Controller/ShortcutSetController.php \Drupal\shortcut\Controller\ShortcutSetController::__construct()

Creates a new ShortcutSetController instance.

Parameters

\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.

File

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

Class

ShortcutSetController
Builds the page for administering shortcut sets.

Namespace

Drupal\shortcut\Controller

Code

public function __construct(PathValidatorInterface $path_validator) {
    $this->pathValidator = $path_validator;
}

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