Implements \Drupal\Core\Ajax\CommandInterface::render().
Overrides CommandInterface::render
File
- drupal/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php, line 35
- Contains \Drupal\Core\Ajax\CloseDialogCommand.
Class
- CloseDialogCommand
- Defines an AJAX command that closes the current active dialog.
Namespace
Drupal\Core\Ajax
Code
public function render() {
return array(
'command' => 'closeDialog',
'selector' => $this->selector,
);
}