You are here

protected property DataCommand::$value in Drupal 8

Same name and namespace in other branches
  1. 9 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\Ajax

Code

protected $value;