function CloseDialogCommand::render
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/CloseDialogCommand.php \Drupal\Core\Ajax\CloseDialogCommand::render()
- 10 core/lib/Drupal/Core/Ajax/CloseDialogCommand.php \Drupal\Core\Ajax\CloseDialogCommand::render()
- 11.x core/lib/Drupal/Core/Ajax/CloseDialogCommand.php \Drupal\Core\Ajax\CloseDialogCommand::render()
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 [
'command' => 'closeDialog',
'selector' => $this->selector,
'persist' => $this->persist,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.