public function ResultsCommand::render in FullCalendar 8.4
Same name and namespace in other branches
- 8.5 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::render()
- 8 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::render()
- 8.2 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::render()
- 8.3 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- src/
Ajax/ ResultsCommand.php, line 29
Class
- ResultsCommand
- Provides an AJAX command for showing the save and cancel buttons.
Namespace
Drupal\fullcalendar\AjaxCode
public function render() {
return [
'command' => 'ResultsCommand',
'data' => $this->data,
];
}