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