OpenDialogCommand::$content

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::content
  2. 10 core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::content
  3. 11.x core/lib/Drupal/Core/Ajax/OpenDialogCommand.php \Drupal\Core\Ajax\OpenDialogCommand::content

The content for the dialog.

Either a render array or an HTML string.

Type: string|array

File

core/lib/Drupal/Core/Ajax/OpenDialogCommand.php, line 37

Class

OpenDialogCommand
Defines an AJAX command to open certain content in a dialog.

Namespace

Drupal\Core\Ajax

Code

protected $content;

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