function js_deprecation_test_js_settings_alter in Drupal 9
Same name and namespace in other branches
- 8 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 - Helper module for the JavaScript deprecation tests.
Code
function js_deprecation_test_js_settings_alter(&$settings) {
$settings['suppressDeprecationErrors'] = FALSE;
}