js_deprecation_test.module in Drupal 8
Same filename and directory in other branches
Helper module for the JavaScript deprecation tests.
File
core/modules/system/tests/modules/js_deprecation_test/js_deprecation_test.moduleView source
<?php
/**
* @file
* Helper module for the JavaScript deprecation tests.
*/
/**
* Implements hook_js_settings_alter().
*/
function js_deprecation_test_js_settings_alter(&$settings) {
$settings['suppressDeprecationErrors'] = FALSE;
}
Functions
Name | Description |
---|---|
js_deprecation_test_js_settings_alter | Implements hook_js_settings_alter(). |