Defines an AJAX command to set the window.location, loading that URL.
Hierarchy
- class \Drupal\Core\Ajax\RedirectCommand implements CommandInterface
Related topics
- Ajax API
- Overview for Drupal's Ajax API.
File
- core/lib/Drupal/Core/Ajax/RedirectCommand.php, line 10
Namespace
Drupal\Core\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
RedirectCommand::$url | protected | property | The URL that will be loaded into window.location. |
RedirectCommand::render | public | function | Implements \Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render |
RedirectCommand::__construct | public | function | Constructs an RedirectCommand object. |
Please login to continue.