Follow code style for complex hooks according to https://www.drupal.org/docs/develop/coding-standards/api-documentation-a... → that is add 'for' following by the hook specialisation.
/**
* Implements hook_form_FORM_ID_alter() for node_type_form().
*/
function mymodule_form_node_type_form_alter(&$form, &$form_state) {
Postponed on
#2890681: Detect complex hooks seperately. →
Reconsider the scope of this issue once a Coder sniff is created. The scope is not normally by module.
Postponed
11.0 🔥
It involves compliance with, or the content of coding standards. Requires broad community agreement.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.