public function ShortcutSetController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 35 - Contains \Drupal\shortcut\Controller\ShortcutSetController.
Class
- ShortcutSetController
- Builds the page for administering shortcut sets.
Namespace
Drupal\shortcut\ControllerCode
public function __construct(PathValidatorInterface $path_validator) {
$this->pathValidator = $path_validator;
}