AJAX command for a javascript alert box.
Hierarchy
- class \Drupal\Core\Ajax\AlertCommand implements CommandInterface
Related topics
- Ajax API
- Overview for Drupal's Ajax API.
File
- core/lib/Drupal/Core/Ajax/AlertCommand.php, line 10
Namespace
Drupal\Core\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AlertCommand::$text | protected | property | The text to be displayed in the alert box. |
AlertCommand::render | public | function | Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render |
AlertCommand::__construct | public | function | Constructs an AlertCommand object. |
Please login to continue.