Drupal 8  8.0.2
RedirectCommand Class Reference
Inheritance diagram for RedirectCommand:

Public Member Functions

 __construct ($url)
 
 render ()
 
- Public Member Functions inherited from CommandInterface
 render ()
 
 __construct ($selector)
 
 render ()
 

Protected Attributes

 $url
 
- Protected Attributes inherited from CommandInterface
 $selector
 

Detailed Description

Defines an AJAX command to set the window.location, loading that URL.

Constructor & Destructor Documentation

__construct (   $url)

Constructs an RedirectCommand object.

Parameters
string$urlThe URL that will be loaded into window.location. This should be a full URL.

References Drupal\url().

Here is the call graph for this function:

Member Function Documentation

render ( )

Implements :render().

References Drupal\url().

Here is the call graph for this function:


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