Drupal 8  8.0.2
CloseModalDialogCommand Class Reference
Inheritance diagram for CloseModalDialogCommand:

Public Member Functions

 __construct ($persist=FALSE)
 
- Public Member Functions inherited from CloseDialogCommand
 __construct ($selector=NULL, $persist=FALSE)
 
 render ()
 
- Public Member Functions inherited from CommandInterface
 render ()
 
 __construct ($selector)
 
 render ()
 

Additional Inherited Members

- Protected Attributes inherited from CloseDialogCommand
 $selector
 
 $persist
 
- Protected Attributes inherited from CommandInterface
 $selector
 

Detailed Description

Defines an AJAX command that closes the currently visible modal dialog.

Constructor & Destructor Documentation

__construct (   $persist = FALSE)

Constructs a CloseModalDialogCommand object.

Parameters
bool$persist(optional) Whether to persist the dialog in the DOM or not.

The documentation for this class was generated from the following file: