Remove the tag @internal from PrivateMessageDeleteForm

Created on 3 December 2024, 4 months ago

Problem/Motivation

The class \Drupal\private_message\Form\PrivateMessageDeleteForm is marked as internal.
Overriding a form is such a common practice... and in this case there is not a good reason that I can foresee why this is the only class in the module that is marked as internal.

When I try to extend it, I have an error in phpstan validation:
Class Drupal\mymodule\Form\PrivateMessageDeleteForm extends @internal class Drupal\private_message\Form\PrivateMessageDeleteForm.

Proposed resolution

Remove the internal tag.

๐Ÿ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

๐Ÿ‡ต๐Ÿ‡นPortugal dxvargas

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