BaseCommand::$data
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/BaseCommand.php \Drupal\Core\Ajax\BaseCommand::data
- 8.9.x core/lib/Drupal/Core/Ajax/BaseCommand.php \Drupal\Core\Ajax\BaseCommand::data
- 11.x core/lib/Drupal/Core/Ajax/BaseCommand.php \Drupal\Core\Ajax\BaseCommand::data
The data to pass on to the client side.
Type: string
File
-
core/
lib/ Drupal/ Core/ Ajax/ BaseCommand.php, line 22
Class
- BaseCommand
- Base command that only exists to simplify AJAX commands.
Namespace
Drupal\Core\AjaxCode
protected $data;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.