You are here

AjaxControllerInterface.php in Private Message 8.2

Same filename and directory in other branches
  1. 8 src/Controller/AjaxControllerInterface.php

File

src/Controller/AjaxControllerInterface.php
View source
<?php

namespace Drupal\private_message\Controller;


/**
 * Interface for the Private Message module's AjaxController.
 */
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();

}

Interfaces

Namesort descending Description
AjaxControllerInterface Interface for the Private Message module's AjaxController.