function js_deprecation_test_js_settings_alter

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/js_deprecation_test/js_deprecation_test.module \js_deprecation_test_js_settings_alter()
  2. 8.9.x core/modules/system/tests/modules/js_deprecation_test/js_deprecation_test.module \js_deprecation_test_js_settings_alter()
  3. 10 core/modules/system/tests/modules/js_deprecation_test/js_deprecation_test.module \js_deprecation_test_js_settings_alter()

Implements hook_js_settings_alter().

File

core/modules/system/tests/modules/js_deprecation_test/js_deprecation_test.module, line 11

Code

function js_deprecation_test_js_settings_alter(&$settings) {
    $settings['suppressDeprecationErrors'] = FALSE;
}

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