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.

Parameters
string$hashThe hash of the toolbar subtrees.
Returns
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.

Returns

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