class SelectFeedCommandss in Heartbeat 8
Hierarchy
- class \Drupal\heartbeat\SelectFeedCommandss implements CommandInterface
Expanded class hierarchy of SelectFeedCommandss
File
- src/
Ajax/ oldcommand.php, line 7
Namespace
Drupal\heartbeatView source
class SelectFeedCommandss implements CommandInterface {
protected $message;
// Constructs a ReadMessageCommand object.
public function __construct($message) {
$this->message = $message;
}
// Implements Drupal\Core\Ajax\CommandInterface:render().
public function render() {
return array(
'command' => 'selectFeed',
'feed' => $this->message,
);
}
public static function hello() {
return 'jigga';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SelectFeedCommandss:: |
protected | property | ||
SelectFeedCommandss:: |
public static | function | ||
SelectFeedCommandss:: |
public | function |
Return an array to be run through json_encode and sent to the client. Overrides CommandInterface:: |
|
SelectFeedCommandss:: |
public | function |