AJAX command interface.
All AJAX commands passed to AjaxResponse objects should implement these methods.
Name | Modifiers | Type | Description |
---|---|---|---|
CommandInterface::render | public | function | Return an array to be run through json_encode and sent to the client. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!CommandInterface.php/interface/CommandInterface/8.1.x