Drupal 8  8.0.2
CloseDialogCommand Class Reference
Inheritance diagram for CloseDialogCommand:

Public Member Functions

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

Protected Attributes

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

Detailed Description

Defines an AJAX command that closes the current active dialog.

Constructor & Destructor Documentation

__construct (   $selector = NULL,
  $persist = FALSE 
)

Constructs a CloseDialogCommand object.

Parameters
string$selectorA CSS selector string of the dialog to close.
bool$persist(optional) Whether to persist the dialog in the DOM or not.

Member Function Documentation

render ( )

{}


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