Closed (fixed)
Project:
UI Suite DSFR
Version:
1.14.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2026 at 15:22 UTC
Updated:
2 Jun 2026 at 21:25 UTC
Jump to comment: Most recent
In some cases, like for a views exposed form, the ui_suite_dsfr_theme_suggestions_form_element_alter allow invalid '-' char.
INVALID FILE NAME SUGGESTIONS:</li>
<li> See https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!theme.api.php/function/hook_theme_suggestions_alter</li>
<li> form_element__edit-search--2</li>
<li>Replace these characters, and add a check for string to be defensive.
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
mogtofu33 commentedComment #4
just_like_good_vibesthanks for the issue and MR, i will look at it asap.
i wonder if you make a separate issue to tackle the phpstan issues reported in the pipeline?
Comment #5
mogtofu33 commentedThe phpstan issue is not related to this change, it's a deprecation that should have its own issue for sure.
Comment #6
mogtofu33 commentedComment #7
just_like_good_vibesComment #9
just_like_good_vibes