SettingsCommand::$settings

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

Class

SettingsCommand
AJAX command for adjusting Drupal's JavaScript settings.

Namespace

Drupal\Core\Ajax

Code

protected $settings;

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