function JsDeprecationTestHooks::jsSettingsAlter

Implements 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\Hook

Code

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.