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

 $pathValidator
 

Detailed Description

Builds the page for administering shortcut sets.

Constructor & Destructor Documentation

__construct ( PathValidatorInterface  $path_validator)

Creates a new ShortcutSetController instance.

Parameters
\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.

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

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

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}


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