interface AjaxControllerInterface in Private Message 8
Same name and namespace in other branches
- 8.2 src/Controller/AjaxControllerInterface.php \Drupal\private_message\Controller\AjaxControllerInterface
Interface for the Private Message module's AjaxController.
Hierarchy
- interface \Drupal\private_message\Controller\AjaxControllerInterface
Expanded class hierarchy of AjaxControllerInterface
All classes that implement AjaxControllerInterface
File
- src/
Controller/ AjaxControllerInterface.php, line 8
Namespace
Drupal\private_message\ControllerView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AjaxControllerInterface:: |
public | function | Create AJAX responses for JavaScript requests. | 1 |
AjaxControllerInterface:: |
public | function | Create AJAX response containing usernames for an autocomplete callback. | 1 |