Problem/Motivation

Drupal is moving towards attributes for plugin discovery, see https://www.drupal.org/docs/drupal-apis/plugin-api/attribute-based-plugins and https://www.drupal.org/project/drupal/issues/3396165

Proposed resolution

Convert plugin discovery to attributes

Remaining tasks

  1. Write a merge request
  2. Review
  3. Commit

User interface changes

None

API changes

Linkit plugins are now preferably declared through attributes

Data model changes

None

Issue fork linkit-3536067

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

idebr created an issue. See original summary.

idebr’s picture

Status: Active » Needs work

To do:

  1. find out how to migrate the provider attribute. See #3396165-25: [meta] Convert all core plugin types to attribute discovery
  2. Raise minimum core version to 10.2 per https://www.drupal.org/docs/drupal-apis/plugin-api/attribute-based-plugins

mark_fullmer made their first commit to this issue’s fork.

mark_fullmer’s picture

Title: Support attribute based plugin discovery » [Drupal 12] Support attribute based plugin discovery
mark_fullmer’s picture

Status: Needs work » Needs review

@idebr, is the change in https://git.drupalcode.org/project/linkit/-/merge_requests/123/diffs?com... sufficient to address support for the plugin provider attribute, per https://www.drupal.org/comment/15478292#comment-15478292

mark_fullmer’s picture

Status: Needs review » 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.