CommandInterface

AJAX command interface.

All AJAX commands passed to AjaxResponse objects should implement these methods.

Hierarchy

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.
doc_Drupal
2016-10-29 08:50:10
Comments
Leave a Comment

Please login to continue.