class JsDeprecationTestHooks

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php \Drupal\js_deprecation_test\Hook\JsDeprecationTestHooks

Hook implementations for js_deprecation_test.

Hierarchy

Expanded class hierarchy of JsDeprecationTestHooks

File

core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php, line 12

Namespace

Drupal\js_deprecation_test\Hook
View source
class JsDeprecationTestHooks {
  
  /**
   * Implements hook_js_settings_alter().
   */
  public function jsSettingsAlter(&$settings) : void {
    $settings['suppressDeprecationErrors'] = FALSE;
  }

}

Members

Title Sort descending Modifiers Object type Summary
JsDeprecationTestHooks::jsSettingsAlter public function Implements hook_js_settings_alter().

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