You are here

interface AjaxControllerInterface in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Controller/AjaxControllerInterface.php \Drupal\private_message\Controller\AjaxControllerInterface

Interface for the Private Message module's AjaxController.

Hierarchy

Expanded class hierarchy of AjaxControllerInterface

All classes that implement AjaxControllerInterface

File

src/Controller/AjaxControllerInterface.php, line 8

Namespace

Drupal\private_message\Controller
View source
interface AjaxControllerInterface {

  /**
   * Create AJAX responses for JavaScript requests.
   *
   * @param string $op
   *   The type of data to build for the response.
   *
   * @return \Drupal\Core\Ajax\AjaxResponse
   *   The ajax response
   */
  public function ajaxCallback($op);

  /**
   * Create AJAX response containing usernames for an autocomplete callback.
   *
   * @return \Drupal\Core\Ajax\AjaxResponse
   *   The ajax response
   */
  public function privateMessageMembersAutocomplete();

}

Members

Namesort descending Modifiers Type Description Overrides
AjaxControllerInterface::ajaxCallback public function Create AJAX responses for JavaScript requests. 1
AjaxControllerInterface::privateMessageMembersAutocomplete public function Create AJAX response containing usernames for an autocomplete callback. 1