JsDeprecationTestHooks.php
Namespace
Drupal\js_deprecation_test\HookFile
-
core/
modules/ system/ tests/ modules/ js_deprecation_test/ src/ Hook/ JsDeprecationTestHooks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\js_deprecation_test\Hook;
use Drupal\Core\Hook\Attribute\Hook;
/**
* Hook implementations for js_deprecation_test.
*/
class JsDeprecationTestHooks {
/**
* Implements hook_js_settings_alter().
*/
public function jsSettingsAlter(&$settings) {
$settings['suppressDeprecationErrors'] = FALSE;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
JsDeprecationTestHooks | Hook implementations for js_deprecation_test. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.