Drupal 8  8.0.2
ShortcutController Class Reference
Inheritance diagram for ShortcutController:

Public Member Functions

 addForm (ShortcutSetInterface $shortcut_set)
 
 deleteShortcutLinkInline (ShortcutInterface $shortcut)
 

Detailed Description

Provides route responses for taxonomy.module.

Member Function Documentation

addForm ( ShortcutSetInterface  $shortcut_set)

Returns a form to add a new shortcut to a given set.

Parameters
\Drupal\shortcut\ShortcutSetInterface$shortcut_setThe shortcut set this shortcut will be added to.
Returns
array The shortcut add form.

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

Here is the call graph for this function:

deleteShortcutLinkInline ( ShortcutInterface  $shortcut)

Deletes the selected shortcut.

Parameters
\Drupal\shortcut\ShortcutInterface$shortcutThe shortcut to delete.
Returns
A redirect to the previous location or the front page when destination is not set.

References EntityInterface\delete(), EntityInterface\label(), and t().

Here is the call graph for this function:


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