Drupal 8  8.0.2
CommonTestController Class Reference

Public Member Functions

 typeLinkActiveClass ()
 
 jsAndCssQuerystring ()
 
 destination ()
 

Detailed Description

Controller routines for common_test routes.

Member Function Documentation

destination ( )

Prints a destination query parameter.

Returns
A new Response object containing a string with the destination query parameter.

References Drupal\destination(), and Html\escape().

Here is the call graph for this function:

jsAndCssQuerystring ( )

Adds a JavaScript file and a CSS file with a query string appended.

Returns
string An empty string.
typeLinkActiveClass ( )

Returns links to the current page, with and without query strings.

Using #type 'link' causes these links to be rendered with the link generator.

References Url\fromRoute(), and t().

Here is the call graph for this function:


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