system_js_settings_build(&$settings, AttachedAssetsInterface $assets)
Implements hook_js_settings_build().
Sets values for the core/drupal.ajax library, which just depends on the active theme but no other request-dependent values.
File
core/modules/system/system.module, line 641 Configuration system that lets administrators modify the workings of the site.
Code
function system_js_settings_build(&$settings, AttachedAssetsInterface $assets) {
// Generate the values for the core/drupal