RedirectCommand
class RedirectCommand implements CommandInterface (View source)
Defines an AJAX command to set the window.location, loading that URL.
Properties
| protected string | $url | The URL that will be loaded into window.location. |
Methods
__construct(string $url)
Constructs an RedirectCommand object.
render()
Implements \Drupal\Core\Ajax\CommandInterface:render().
Details
__construct(string $url)
Constructs an RedirectCommand object.
render()
Implements \Drupal\Core\Ajax\CommandInterface:render().