SettingsCommand::$merge
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/SettingsCommand.php \Drupal\Core\Ajax\SettingsCommand::merge
- 10 core/lib/Drupal/Core/Ajax/SettingsCommand.php \Drupal\Core\Ajax\SettingsCommand::merge
- 11.x core/lib/Drupal/Core/Ajax/SettingsCommand.php \Drupal\Core\Ajax\SettingsCommand::merge
Whether the settings should be merged into the global drupalSettings.
By default (FALSE), the settings that are passed to Drupal.attachBehaviors will not include the global drupalSettings.
Type: bool
File
-
core/
lib/ Drupal/ Core/ Ajax/ SettingsCommand.php, line 37
Class
- SettingsCommand
- AJAX command for adjusting Drupal's JavaScript settings.
Namespace
Drupal\Core\AjaxCode
protected $merge;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.