Document attribute-based discovery in the handbook

Created on 15 November 2023, about 1 year ago
Updated 2 April 2024, 9 months ago

Problem/Motivation

Follow-up from πŸ“Œ Use PHP attributes instead of doctrine annotations Fixed and pointed out by @xjm. We should document attribute discovery in the handbook.

https://www.drupal.org/docs/drupal-apis/plugin-api β†’ has a section on annotations, could add a parallel one, and add note in the annotations page pointing to it.

There'll also be lots of individual examples of plugins using annotations that need updating over time to use attributes instead, but these will need to wait for individual subsystems to support attributes.

Steps to reproduce

Proposed resolution

Added Attribute-based plugins β†’ to the Plugin API docs.
Added attribute discover to Drupal Plugin discovery β†’

Remaining tasks

What else?

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
DocumentationΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024