DataCommand::$selector
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::selector
- 10 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::selector
- 11.x core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::selector
A CSS selector string for elements to which data will be attached.
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/ DataCommand.php, line 26
Class
- DataCommand
- An AJAX command for implementing jQuery's data() method.
Namespace
Drupal\Core\AjaxCode
protected $selector;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.