hook_field_type_category_info_alter should not be in group field_purge

Created on 31 August 2025, 2 months ago

Problem/Motivation

The API page https://api.drupal.org/api/drupal/core%21modules%21field%21field.purge.i... (Field API bulk data deletion) lists the unrelated hook (function) hook_field_type_category_info_alter.

When that hook was added to field.api.php, it was mistakenly placed before the close of the field_purge group.

Steps to reproduce

Look at the list of functions on the API page.

Proposed resolution

Move the function hook_field_type_category_info_alter (and its docblock) after the close of the group:

/**
 * @} End of "addtogroup field_purge".
 */

Remaining tasks

User interface changes

I am not sure this counts, but hook_field_type_category_info_alter will no longer be listed on https://api.drupal.org/api/drupal/core%21modules%21field%21field.purge.i....

Introduced terminology

None

API changes

None

Data model changes

None

Release notes snippet

N/A

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States benjifisher Boston area

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024