Cannot redeclare hook_field_widget_info_alter()

Created on 12 February 2025, about 2 months ago

Overview

When using the bleeding edge of phpstan-drupal, it loads api.php files to find deprecated hooks. experience_builder.api.php creates an error since it has hook_field_widget_info_alter like field.api.php

Proposed resolution

hook_field_widget_info_alter is an example, so s/hook/mymodule

User interface changes

πŸ› Bug report
Status

Active

Version

0.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024