Drupal 8  8.0.2
ShortcutSetController Class Reference
Inheritance diagram for ShortcutSetController:

Public Member Functions

 __construct (PathValidatorInterface $path_validator)
 addShortcutLinkInline (ShortcutSetInterface $shortcut_set, Request $request)

Static Public Member Functions

static create (ContainerInterface $container)

Protected Attributes


Detailed Description

Builds the page for administering shortcut sets.

Constructor & Destructor Documentation

__construct ( PathValidatorInterface  $path_validator)

Creates a new ShortcutSetController instance.

\Drupal\Core\Path\PathValidatorInterface$path_validatorThe path validator.

References Drupal\pathValidator().

Here is the call graph for this function:

Member Function Documentation

addShortcutLinkInline ( ShortcutSetInterface  $shortcut_set,
Request  $request 

Creates a new link in the provided shortcut set.

\Drupal\shortcut\ShortcutSetInterface$shortcut_setThe shortcut set to add a link to.
\Symfony\Component\HttpFoundation\Request$requestThe request object.
A redirect response to the front page, or the previous location.

References Drupal\entityManager(), EntityInterface\id(), Drupal\pathValidator(), and t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)


The documentation for this class was generated from the following file: