Skip to content

Conversation

@n1kolas
Copy link
Contributor

@n1kolas n1kolas commented May 5, 2025

Hey,

I've noticed some missing hooks in the snippets.

An example is hook_field_widget_single_element_form_alter.

It's defined in core/modules/field/field.api.php. Reason being, the current globs don't pick these up (it's neither in lib/* nor src/*).

I think it would also be good to include contrib (and possibly custom) modules.

For example when using "group": group.api.php, which usually would be web/modules/contrib/group/group.api.php.

Currently some hook definitions are missed, so I suggest extended the glob.

@jdrupal-dev jdrupal-dev merged commit 62b07f9 into jdrupal-dev:main May 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants