Tests: hook_widget_info_alter() is not called anymore

Created on 19 October 2012, over 12 years ago
Updated 26 January 2025, about 23 hours ago

Problem/Motivation

hook_widget_info_alter() is not called anymore.

Proposed resolution

Add AlterDecorator to the discovery object used by WidgetPluginManager.

Remaining tasks

Review the patch.

User interface changes

None.

API changes

None, really. hook_field_widget_info() wasn't called for a while, but that is really a regression, instead of this being an API change. Note that this is not marked critical or even major, even though it is a regression. That is because this patch is trivial enough that I don't fear we will ship without it. Feel free to elevate the priority if you disagree.

πŸ“Œ Task
Status

Fixed

Version

8.0 ⚰️

Component

field system

Created by

πŸ‡©πŸ‡ͺGermany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024