function SetFormCommand::__construct

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

Constructs a SetFormCommand object.

Parameters

string $url: The URL of the form.

File

core/modules/views_ui/src/Ajax/SetFormCommand.php, line 27

Class

SetFormCommand
Provides an AJAX command for setting a form submit URL in modal forms.

Namespace

Drupal\views_ui\Ajax

Code

public function __construct($url) {
    $this->url = $url;
}

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