DataCommand::$value
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::value
- 10 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::value
- 11.x core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::value
The value of the data to be attached to elements matched by the selector.
The data is not limited to strings; it can be any format.
Type: mixed
File
-
core/
lib/ Drupal/ Core/ Ajax/ DataCommand.php, line 42
Class
- DataCommand
- An AJAX command for implementing jQuery's data() method.
Namespace
Drupal\Core\AjaxCode
protected $value;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.