AlertCommand
class AlertCommand implements CommandInterface (View source)
AJAX command for a javascript alert box.
Properties
| protected string | $text | The text to be displayed in the alert box. |
Methods
__construct(string $text)
Constructs an AlertCommand object.
render()
Implements Drupal\Core\Ajax\CommandInterface:render().
Details
__construct(string $text)
Constructs an AlertCommand object.
render()
Implements Drupal\Core\Ajax\CommandInterface:render().