AJAX command interface.
All AJAX commands passed to AjaxResponse objects should implement these methods.
Hierarchy
- interface \Drupal\Core\Ajax\CommandInterface
Related topics
- Ajax API
- Overview for Drupal's Ajax API.
File
- core/lib/Drupal/Core/Ajax/CommandInterface.php, line 13
Namespace
Drupal\Core\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
CommandInterface::render | public | function | Return an array to be run through json_encode and sent to the client. |
Please login to continue.