SetFormCommand::render

public SetFormCommand::render()

Return an array to be run through json_encode and sent to the client.

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 array(
    'command' => 'viewsSetForm',
    'url' => $this->url,
  );
}
doc_Drupal
2016-10-29 09:42:11
Comments
Leave a Comment

Please login to continue.