function SetFormCommand::render

Same name in other branches
  1. 9 core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::render()
  2. 8.9.x core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::render()
  3. 11.x core/modules/views_ui/src/Ajax/SetFormCommand.php \Drupal\views_ui\Ajax\SetFormCommand::render()

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\Ajax

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.