DataCommand::$name

Same name in other branches
  1. 9 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::name
  2. 10 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::name
  3. 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\Ajax

Code

protected $name;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.