class OpignoScrollToLastMessage in Opigno messaging 3.x
Ajax command to scroll to the last message.
@package Drupal\opigno_messaging\Ajax
Hierarchy
- class \Drupal\opigno_messaging\Ajax\OpignoScrollToLastMessage implements CommandInterface
Expanded class hierarchy of OpignoScrollToLastMessage
1 file declares its use of OpignoScrollToLastMessage
- PrivateMessageForm.php in src/
Form/ PrivateMessageForm.php
File
- src/
Ajax/ OpignoScrollToLastMessage.php, line 12
Namespace
Drupal\opigno_messaging\AjaxView source
class OpignoScrollToLastMessage implements CommandInterface {
/**
* {@inheritdoc}
*/
public function render() : array {
return [
'command' => 'opignoScrollToLastMessage',
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OpignoScrollToLastMessage:: |
public | function |
Return an array to be run through json_encode and sent to the client. Overrides CommandInterface:: |