OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH

Same name in other branches
  1. 9 core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php \Drupal\Core\Ajax\OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH
  2. 10 core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php \Drupal\Core\Ajax\OpenOffCanvasDialogCommand::DEFAULT_DIALOG_WIDTH
  3. 11.x 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 a off-canvas dialog.

Namespace

Drupal\Core\Ajax

Code

const DEFAULT_DIALOG_WIDTH = 300;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.