Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::name
  2. 9 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;