InsertCommand::$content

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

The content for the matched element(s).

Either a render array or an HTML string.

Type: string|array

File

core/lib/Drupal/Core/Ajax/InsertCommand.php, line 38

Class

InsertCommand
Generic AJAX command for inserting content.

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.