You are here

public function SetFormCommand::render in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::render()
  2. 9 core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::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\Ajax

Code

public function render() {
  return [
    'command' => 'viewsSetForm',
    'url' => $this->url,
  ];
}