Closed (fixed)
Project:
Webform
Version:
6.2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2024 at 09:33 UTC
Updated:
20 Apr 2024 at 01:09 UTC
Jump to comment: Most recent
With Drupal 10.2.x following deprecation notices found in logs when running webform related tests.
The 'system.css_js_query_string' state is deprecated in drupal:10.2.0. Use \Drupal\Core\Asset\AssetQueryStringInterface::get() and ::reset() instead. See https://www.drupal.org/node/3358337.
In webform/includes/webform.libraries.inc state called directly, needs converting to use the service:
/**
* Implements hook_library_info_build().
*/
function webform_library_info_build() {
$base_path = base_path();
$default_query_string = \Drupal::state()->get('system.css_js_query_string') ?: '0';Fix it according to https://www.drupal.org/node/3358337
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mitrpaka commentedComment #5
jrockowitz commentedI made a minor syntax tweak to align with other deprecations.
Comment #7
jrockowitz commented