comparison core/lib/Drupal/Core/Ajax/CommandInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\Core\Ajax;
4
5 /**
6 * AJAX command interface.
7 *
8 * All AJAX commands passed to AjaxResponse objects should implement these
9 * methods.
10 *
11 * @ingroup ajax
12 */
13 interface CommandInterface {
14
15 /**
16 * Return an array to be run through json_encode and sent to the client.
17 */
18 public function render();
19
20 }