Problem/Motivation

Hooks are not supposed to be part of the public API. Now that hooks are implemented in classes, those classes should be marked internal, to make explicit contributed projects should not extend them, which is not really necessary.

Proposed resolution

Mark the hook classes internal. In the 4.0.x branch, those classes should be marked final.

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:

Comments

avpaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

avpaderno’s picture

Status: Active » Needs review
avpaderno’s picture

Status: Needs review » Reviewed & tested by the community

  • avpaderno committed f236f7fe on 3.0.x
    Issue #3590811: Mark the hook classes internal
    
avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.