You are here

constant OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php \Drupal\Core\Ajax\OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH
  2. 9 core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php \Drupal\Core\Ajax\OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH

The dialog width to use if none is provided.

File

core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php, line 15

Class

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

Namespace

Drupal\Core\Ajax

Code

const DEFAULT_DIALOG_WIDTH = 300;