You are here

public function SetFormCommand::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 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;
}