DataCommand::$name
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::name
- 10 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::name
- 11.x core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::name
The key of the data attached to elements matched by the selector.
Type: string
File
-
core/
lib/ Drupal/ Core/ Ajax/ DataCommand.php, line 33
Class
- DataCommand
- An AJAX command for implementing jQuery's data() method.
Namespace
Drupal\Core\AjaxCode
protected $name;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.