function JsDeprecationTestHooks::jsSettingsAlter
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php \Drupal\js_deprecation_test\Hook\JsDeprecationTestHooks::jsSettingsAlter()
Implements hook_js_settings_alter().
Attributes
#[Hook('js_settings_alter')]
File
-
core/
modules/ system/ tests/ modules/ js_deprecation_test/ src/ Hook/ JsDeprecationTestHooks.php, line 17
Class
- JsDeprecationTestHooks
- Hook implementations for js_deprecation_test.
Namespace
Drupal\js_deprecation_test\HookCode
public function jsSettingsAlter(&$settings) : void {
$settings['suppressDeprecationErrors'] = FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.