Constructs a CloseModalDialogCommand object.
Overrides CloseDialogCommand::__construct
File
- drupal/core/lib/Drupal/Core/Ajax/CloseModalDialogCommand.php, line 19
- Contains \Drupal\Core\Ajax\CloseModalDialogCommand.
Class
- CloseModalDialogCommand
- Defines an AJAX command that closes the currently visible modal dialog.
Namespace
Drupal\Core\Ajax
Code
public function __construct() {
$this->selector = '#drupal-modal';
}