public function CloseDialogCommand::render
public CloseDialogCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- core/lib/Drupal/Core/Ajax/CloseDialogCommand.php, line 42
Class
- CloseDialogCommand
- Defines an AJAX command that closes the current active dialog.
Namespace
Drupal\Core\AjaxCode
public function render() { return array( 'command' => 'closeDialog', 'selector' => $this->selector, 'persist' => $this->persist, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!CloseDialogCommand.php/function/CloseDialogCommand::render/8.1.x