Support PHP attribute plugin discovery

Created on 6 March 2024, 4 months ago
Updated 17 June 2024, 7 days ago

Problem/Motivation

Drupal 10.2 supports plugin discovery via PHP attribute ( CR → ). DS plugin manager can provide support for both PHP attribute and annotation.

Steps to reproduce

Proposed resolution

Remaining tasks

Add plugin attribute for:
\Drupal\ds\Plugin\DsPluginManager
\Drupal\ds\Plugin\DsFieldTemplatePluginManager

User interface changes

API changes

Data model changes

✨ Feature request
Status

RTBC

Version

3.0

Component

Code

Created by

🇮🇩Indonesia el7cosmos 🇮🇩 GMT+7

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

Merge Requests

Comments & Activities

  • Issue created by @el7cosmos
  • Pipeline finished with Failed
    4 months ago
    Total: 296s
    #113089
  • Pipeline finished with Failed
    4 months ago
    Total: 303s
    #113096
  • Pipeline finished with Failed
    4 months ago
    Total: 319s
    #113107
  • Pipeline finished with Success
    4 months ago
    Total: 305s
    #113147
  • Pipeline finished with Canceled
    4 months ago
    Total: 313s
    #114040
  • Pipeline finished with Success
    4 months ago
    Total: 357s
    #114041
  • Status changed to Needs review 4 months ago
  • 🇮🇩Indonesia el7cosmos 🇮🇩 GMT+7
  • 🇧🇪Belgium swentel

    Does that mean we have to require an explicit PHP version too? While it's always a good idea to run the latest version of software of course, I do know that many hosting companies still provide ealier versions of PHP and users don't always upgrade immediately either.

  • Status changed to RTBC 8 days ago
  • 🇦🇺Australia VladimirAus Brisbane, Australia

    Looks good.

  • 🇧🇪Belgium swentel

    Ok, so 10.2.x needs PHP 8.1 to run anyway, so this looks good. I might way until 10.3 comes out before committing this one to give people at least a bit of time to upgrade.

Production build 0.69.0 2024