You are here

public function AjaxControllerInterface::ajaxCallback in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Controller/AjaxControllerInterface.php \Drupal\private_message\Controller\AjaxControllerInterface::ajaxCallback()

Create AJAX responses for JavaScript requests.

Parameters

string $op: The type of data to build for the response.

Return value

\Drupal\Core\Ajax\AjaxResponse The ajax response

1 method overrides AjaxControllerInterface::ajaxCallback()
AjaxController::ajaxCallback in src/Controller/AjaxController.php
Create AJAX responses for JavaScript requests.

File

src/Controller/AjaxControllerInterface.php, line 19

Class

AjaxControllerInterface
Interface for the Private Message module's AjaxController.

Namespace

Drupal\private_message\Controller

Code

public function ajaxCallback($op);