Drupal 8  8.0.2
ToolbarController Class Reference
Inheritance diagram for ToolbarController:

Public Member Functions

 subtreesAjax ()
 checkSubTreeAccess ($hash)

Detailed Description

Defines a controller for the toolbar module.

Member Function Documentation

checkSubTreeAccess (   $hash)

Checks access for the subtree controller.

string$hashThe hash of the toolbar subtrees.
The access result.

References AccessResult\allowedIf(), Drupal\currentUser(), and Crypt\hashEquals().

Here is the call graph for this function:

subtreesAjax ( )

Returns an AJAX response to render the toolbar subtrees.


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