SetFormCommand
class SetFormCommand implements CommandInterface (View source)
Provides an AJAX command for setting a form submit URL in modal forms.
This command is implemented in Drupal.AjaxCommands.prototype.viewsSetForm.
Properties
| protected string | $url | The URL of the form. |
Methods
__construct(string $url)
Constructs a SetFormCommand object.
render()
Return an array to be run through json_encode and sent to the client.
Details
__construct(string $url)
Constructs a SetFormCommand object.
render()
Return an array to be run through json_encode and sent to the client.