public function PrivateMessageInboxTriggerUpdateCommand::render in Private Message 8.2
Same name and namespace in other branches
- 8 src/Ajax/PrivateMessageInboxTriggerUpdateCommand.php \Drupal\private_message\Ajax\PrivateMessageInboxTriggerUpdateCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- src/
Ajax/ PrivateMessageInboxTriggerUpdateCommand.php, line 15
Class
- PrivateMessageInboxTriggerUpdateCommand
- Ajax command to trigger an update of the private message inbox block.
Namespace
Drupal\private_message\AjaxCode
public function render() {
return [
'command' => 'privateMessageTriggerInboxUpdate',
];
}