Using @FieldFormatter annotation for plugins is deprecated and should be replaced by a Drupal\Core\Field\Attribute\FieldFormatter attribute instead.

Created on 28 August 2025, 13 days ago

Problem/Motivation


1 test triggered 2 deprecations:

1) /app/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @FieldFormatter annotation for plugin with ID timestamp_ap_style is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Field\Attribute\FieldFormatter attribute instead. See https://www.drupal.org/node/3395575

Triggered by:

* Drupal\Tests\date_ap_style\Kernel\ConfigValidationTest::testConfigInspectorValidation
  /usr/local/date_ap_style/tests/src/Kernel/ConfigValidationTest.php:76

2) /app/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @FieldFormatter annotation for plugin with ID daterange_ap_style is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Field\Attribute\FieldFormatter attribute instead. See https://www.drupal.org/node/3395575

Triggered by:

* Drupal\Tests\date_ap_style\Kernel\ConfigValidationTest::testConfigInspectorValidation
  /usr/local/date_ap_style/tests/src/Kernel/ConfigValidationTest.php:76

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

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

Comments & Activities

Production build 0.71.5 2024