* (optional) The default data parameter for the JavaScript asset array.
*
* @deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. No direct
* @deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. No direct
* replacement is provided.
*
* @see https://www.drupal.org/node/3197679
*/
functiondrupal_js_defaults($data=NULL){
@trigger_error('drupal_js_defaults() is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. No direct replacement is provided. See https://www.drupal.org/node/3197679',E_USER_DEPRECATED);
@trigger_error('drupal_js_defaults() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3197679',E_USER_DEPRECATED);
@@ -493,7 +493,7 @@ public function testAddJsFileWithQueryString() {
* @group legacy
*/
publicfunctiontestDeprecatedDrupalJsDefaults(){
$this->expectDeprecation('drupal_js_defaults() is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. No direct replacement is provided. See https://www.drupal.org/node/3197679');
$this->expectDeprecation('drupal_js_defaults() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3197679');