public function SetFormCommand::render in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::render()
- 10 core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- core/
modules/ views_ui/ src/ Ajax/ SetFormCommand.php, line 34
Class
- SetFormCommand
- Provides an AJAX command for setting a form submit URL in modal forms.
Namespace
Drupal\views_ui\AjaxCode
public function render() {
return [
'command' => 'viewsSetForm',
'url' => $this->url,
];
}