public function OpenOffCanvasDialogCommand::render in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php \Drupal\Core\Ajax\OpenOffCanvasDialogCommand::render()
- 9 core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php \Drupal\Core\Ajax\OpenOffCanvasDialogCommand::render()
File
- core/
lib/ Drupal/ Core/ Ajax/ OpenOffCanvasDialogCommand.php, line 65
Class
- OpenOffCanvasDialogCommand
- Defines an AJAX command to open content in a dialog in an off-canvas tray.
Namespace
Drupal\Core\AjaxCode
public function render() {
$build = parent::render();
$build['effect'] = 'fade';
$build['speed'] = 1000;
return $build;
}