public 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; }
Please login to continue.