Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In order to better signal API we can mark classes/methods that are intended to be API with @api.
For classes/methods we expect to be only be called by TFA we can use @internal.
Any class we do not intend to be extended by others we can mark @fainal
Steps to reproduce
N/A
Proposed resolution
Mark code as applicable.
Remaining tasks
Patch
User interface changes
None
API changes
Clarification of code intended to be API and subject to BC support. Some code that may have been previously used as API may be moved off-api.
Data model changes
None
Issue fork tfa-3388141
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
cmlaraComment #5
cmlaraMerged to Dev, although I just realized I did not write up a CR note for this yet. NW for the CR.