OpenOffCanvasDialogCommand::render

Implements \Drupal\Core\Ajax\CommandInterface:render().

Overrides OpenDialogCommand::render

File

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

Class

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

Namespace

Drupal\outside_in\Ajax

Code

public function render() {
  $build = parent::render();
  $build['effect'] = 'fade';
  $build['speed'] = 1000;
  return $build;
}
doc_Drupal
2016-10-29 09:32:30
Comments
Leave a Comment

Please login to continue.