Skip to content

Add alter hooks to extend ContextValidator form ID detection

  • Introduced hook_gin_lb_context_validator_form_ids_alter() to allow custom form ID injection.
  • Introduced hook_gin_lb_context_validator_form_id_regexes_alter() for regex-based matching.
  • Refactored ContextValidator to lazy-load and expose altered values.
  • Ensures extensibility from both modules and themes.

Closes #3530489

Merge request reports

Loading