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

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cmlara created an issue. See original summary.

cmlara’s picture

Status: Active » Needs review

  • cmlara committed e7ee089e on 2.x
    Issue #3388141 by cmlara: Mark classes as internal/final/api as...
cmlara’s picture

Status: Needs review » Needs work

Merged to Dev, although I just realized I did not write up a CR note for this yet. NW for the CR.