You are here

protected property InvokeCommand::$selector in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Ajax/InvokeCommand.php \Drupal\Core\Ajax\InvokeCommand::selector
  2. 10 core/lib/Drupal/Core/Ajax/InvokeCommand.php \Drupal\Core\Ajax\InvokeCommand::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

File

core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 28

Class

InvokeCommand
AJAX command for invoking an arbitrary jQuery method.

Namespace

Drupal\Core\Ajax

Code

protected $selector;