InsertCommand::$selector

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

A CSS selector string.

If the command is a response to a request from an #ajax form element then this value can be NULL.

Type: string|null

File

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

Class

InsertCommand
Generic AJAX command for inserting content.

Namespace

Drupal\Core\Ajax

Code

protected $selector;

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