Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Ajax/CssCommand.php \Drupal\Core\Ajax\CssCommand::selector
  2. 9 core/lib/Drupal/Core/Ajax/CssCommand.php \Drupal\Core\Ajax\CssCommand::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/CssCommand.php, line 28

Class

CssCommand
An AJAX command for calling the jQuery css() method.

Namespace

Drupal\Core\Ajax

Code

protected $selector;