Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Ajax/SettingsCommand.php \Drupal\Core\Ajax\SettingsCommand::settings
  2. 9 core/lib/Drupal/Core/Ajax/SettingsCommand.php \Drupal\Core\Ajax\SettingsCommand::settings

An array of key/value pairs of JavaScript settings.

This will be used for all commands after this if they do not include their own settings array.

Type: array

File

core/lib/Drupal/Core/Ajax/SettingsCommand.php, line 29

Class

SettingsCommand
AJAX command for adjusting Drupal's JavaScript settings.

Namespace

Drupal\Core\Ajax

Code

protected $settings;