3 namespace Drupal\views_ui\Ajax;
5 use Drupal\Core\Ajax\CommandInterface;
8 * Provides an AJAX command for setting a form submit URL in modal forms.
10 * This command is implemented in Drupal.AjaxCommands.prototype.viewsSetForm.
12 class SetFormCommand implements CommandInterface {
15 * The URL of the form.
22 * Constructs a SetFormCommand object.
25 * The URL of the form.
27 public function __construct($url) {
34 public function render() {
36 'command' => 'viewsSetForm',