OpenOffCanvasDialogCommand

Defines an AJAX command to open content in a dialog in a off-canvas tray.

Hierarchy

Related topics

Ajax API
Overview for Drupal's Ajax API.

File

core/modules/outside_in/src/Ajax/OpenOffCanvasDialogCommand.php, line 12

Namespace

Drupal\outside_in\Ajax

Members

Name Modifiers Type Description
CommandWithAttachedAssetsTrait::$attachedAssets protected property The attached assets for this Ajax command.
CommandWithAttachedAssetsTrait::getAttachedAssets public function Gets the attached assets. Overrides CommandWithAttachedAssetsInterface::getAttachedAssets
CommandWithAttachedAssetsTrait::getRenderedContent protected function Processes the content for output.
OpenDialogCommand::$content protected property The content for the dialog.
OpenDialogCommand::$dialogOptions protected property Stores dialog-specific options passed directly to jQuery UI dialogs. Any jQuery UI option can be used. See http://api.jqueryui.com/dialog.
OpenDialogCommand::$selector protected property The selector of the dialog.
OpenDialogCommand::$settings protected property Custom settings that will be passed to the Drupal behaviors on the content of the dialog.
OpenDialogCommand::$title protected property The title of the dialog.
OpenDialogCommand::getDialogOptions public function Returns the dialog options.
OpenDialogCommand::setDialogOption public function Sets a single dialog option value.
OpenDialogCommand::setDialogOptions public function Sets the dialog options array.
OpenDialogCommand::setDialogTitle public function Sets the dialog title (an alias of setDialogOptions).
OpenOffCanvasDialogCommand::render public function Implements \Drupal\Core\Ajax\CommandInterface:render(). Overrides OpenDialogCommand::render
OpenOffCanvasDialogCommand::__construct public function Constructs an OpenOffCanvasDialogCommand object. Overrides OpenDialogCommand::__construct
doc_Drupal
2016-10-29 09:32:29
Comments
Leave a Comment

Please login to continue.