class PrivateMessageLoadNewMessagesCommand in Private Message 8.2
Same name and namespace in other branches
- 8 src/Ajax/PrivateMessageLoadNewMessagesCommand.php \Drupal\private_message\Ajax\PrivateMessageLoadNewMessagesCommand
Ajax Command to trigger a load of new private messages into a thread.
Hierarchy
- class \Drupal\private_message\Ajax\PrivateMessageLoadNewMessagesCommand implements CommandInterface
Expanded class hierarchy of PrivateMessageLoadNewMessagesCommand
1 file declares its use of PrivateMessageLoadNewMessagesCommand
- PrivateMessageForm.php in src/
Form/ PrivateMessageForm.php
File
- src/
Ajax/ PrivateMessageLoadNewMessagesCommand.php, line 10
Namespace
Drupal\private_message\AjaxView source
class PrivateMessageLoadNewMessagesCommand implements CommandInterface {
/**
* {@inheritdoc}
*/
public function render() {
return [
'command' => 'loadNewPrivateMessages',
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrivateMessageLoadNewMessagesCommand:: |
public | function |
Return an array to be run through json_encode and sent to the client. Overrides CommandInterface:: |