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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.