Problem/Motivation

The FieldType and FieldFormatter plugins need to be converted to use attributes instead of annotation. Defining FieldType and FieldFormatter plugins using attributes instead of annotation is supported since Drupal 10.3. See https://www.drupal.org/node/3229001.

Feeds currently requires at least Drupal 10.3, so the conversion can be done without keeping the annotation.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork feeds-3616428

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

megachriz created an issue. See original summary.

megachriz’s picture

Title: Convert annotations to attributes in FieldType plugins » Convert annotations to attributes in FieldType, FieldFormatter and FieldWidget plugins
Issue summary: View changes

I missed that FieldFormatter and FieldWidget plugins are also listed on https://www.drupal.org/node/3229001, so these can be converted too in one go.

megachriz’s picture

Title: Convert annotations to attributes in FieldType, FieldFormatter and FieldWidget plugins » Convert annotations to attributes in FieldType and FieldFormatter plugins
Issue summary: View changes

Oops, Feeds doesn't have any FeedsWidget plugins yet. Retitling again.

  • megachriz committed b015a4cf on 8.x-3.x
    task: #3616428 Converted annotations to attributes in FieldType and...
megachriz’s picture

Status: Needs review » Fixed

Merged.

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.