By larowlan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
The following plugins now use Attributes. The change notice announcing the use of attributes for plugins is Plugin implementations should use PHP attributes instead of annotations.
| Annotation class | Attribute class |
\Drupal\Core\Annotation\Mail |
\Drupal\Core\Mail\Attribute\Mail |
\Drupal\image\Annotation\ImageEffect |
\Drupal\image\Attribute\ImageEffect |
\Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation |
\Drupal\Core\ImageToolkit\Attribute\ImageToolkitOperation |
\Drupal\Core\ImageToolkit\Annotation\ImageToolkit |
\Drupal\Core\ImageToolkit\Attribute\ImageToolkit |
\Drupal\Core\Annotation\QueueWorker |
\Drupal\Core\Queue\Attribute\QueueWorker |
\Drupal\rest\Annotation\RestResource |
\Drupal\rest\Attribute\RestResource |
\Drupal\Core\TypedData\Annotation\DataType |
\Drupal\Core\TypedData\Attribute\DataType |
\Drupal\language\Annotation\LanguageNegotiation |
\Drupal\language\Attribute\LanguageNegotiation |
\Drupal\workflows\Annotation\WorkflowType |
\Drupal\workflows\Attribute\WorkflowType |
\Drupal\Core\Field\Annotation\FieldFormatter |
\Drupal\Core\Field\Attribute\FieldFormatter |
\Drupal\Core\Field\Annotation\FieldWidget |
\Drupal\Core\Field\Attribute\FieldWidget |
\Drupal\help\Annotation\HelpSection |
\Drupal\help\Attribute\HelpSection |
\Drupal\Core\Validation\Annotation\Constraint |
\Drupal\Core\Validation\Attribute\Constraint |
\Drupal\Core\Archiver\Annotation\Archiver |
\Drupal\Core\Archiver\Attribute\Archiver |
\Drupal\Core\Condition\Annotation\Condition |
\Drupal\Core\Condition\Attribute\Condition |
\Drupal\layout_builder\Annotation\SectionStorage |
\Drupal\layout_builder\Attribute\SectionStorage |
\Drupal\views\Annotation\ViewsArgumentValidator |
\Drupal\views\Attribute\ViewsArgumentValidator |
\Drupal\search\Annotation\SearchPlugin |
\Drupal\search\Attribute\Search |
\Drupal\views\Annotation\ViewsQuery |
\Drupal\views\Attribute\ViewsQuery |
\Drupal\views\Annotation\ViewsAccess |
\Drupal\views\Attribute\ViewsAccess |
\Drupal\views\Annotation\ViewsArea |
\Drupal\views\Attribute\ViewsArea |
\Drupal\filter\Annotation\Filter |
\Drupal\filter\Attribute\Filter |
\Drupal\Core\Entity\Annotation\EntityReferenceSelection |
Drupal\Core\Entity\Attribute\EntityReferenceSelection |
\Drupal\views\Annotation\ViewsCache |
\Drupal\views\Attribute\ViewsCache |
\Drupal\views\Annotation\ViewsDisplayExtender |
\Drupal\views\Attribute\ViewsDisplayExtender |
\Drupal\views\Annotation\ViewsExposedForm |
\Drupal\views\Attribute\ViewsExposedForm |
\Drupal\views\Annotation\ViewsArgument |
\Drupal\views\Attribute\ViewsArgument |
\Drupal\views\Annotation\ViewsField |
\Drupal\views\Attribute\ViewsField |
\Drupal\views\Annotation\ViewsFilter |
\Drupal\views\Attribute\ViewsFilter |
\Drupal\views\Annotation\ViewsRelationship |
\Drupal\views\Attribute\ViewsRelationship |
\Drupal\views\Annotation\ViewsSort |
\Drupal\views\Attribute\ViewsSort |
\Drupal\views\Annotation\ViewsJoin |
\Drupal\views\Attribute\ViewsJoin |
\Drupal\views\Annotation\ViewsPager |
\Drupal\views\Attribute\ViewsPager |
\Drupal\views\Annotation\ViewsRow |
\Drupal\views\Attribute\ViewsRow |
\Drupal\views\Annotation\ViewsDisplay |
\Drupal\views\Attribute\ViewsDisplay |
\Drupal\views\Annotation\ViewsStyle |
\Drupal\views\Attribute\ViewsStyle |
\Drupal\views\Annotation\ViewsArgumentDefault |
\Drupal\views\Attribute\ViewsArgumentDefault |
\Drupal\views\Annotation\ViewsWizard |
\Drupal\views\Attribute\ViewsWizard |
\Drupal\editor\Annotation\Editor |
\Drupal\editor\Attribute\Editor |
\Drupal\Core\Display\Annotation\DisplayVariant |
\Drupal\Core\Display\Attribute\DisplayVariant |
\Drupal\Core\Render\Annotation\FormElement |
\Drupal\Core\Render\Attribute\FormElement |
\Drupal\Core\Render\Annotation\RenderElement |
\Drupal\Core\Render\Attribute\RenderElement |
\Drupal\migrate\Annotation\MigrateDestination |
\Drupal\migrate\Attribute\MigrateDestination |
\Drupal\migrate_drupal\Annotation\MigrateField |
\Drupal\migrate_drupal\Attribute\MigrateField |
ID Map plugins \Drupal\Component\Annotation\PluginID |
\Drupal\Component\Plugin\Attribute\PluginID |
\Drupal\migrate\Annotation\MigrateProcess |
\Drupal\migrate\Attribute\MigrateProcess |
\Drupal\media\Annotation\MediaSource |
\Drupal\media\Attribute\MediaSource or \Drupal\media\Attribute\OEmbedMediaSource if it is an oEmbed source |
\Drupal\Core\Field\Annotation\FieldType |
\Drupal\Core\Field\Attribute\FieldType |
\Drupal\ckeditor5\Annotation\CKEditor5Plugin |
\Drupal\ckeditor5\Attribute\CKEditor5Plugin |
\Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin |
\Drupal\ckeditor5\Attribute\CKEditor5AspectsOfCKEditor5Plugin |
\Drupal\ckeditor5\Annotation\DrupalAspectsOfCKEditor5Plugin |
\Drupal\ckeditor5\Attribute\DrupalAspectsOfCKEditor5Plugin |
\Drupal\Core\Layout\Annotation\Layout |
\Drupal\Core\Layout\Attribute\Layout |
Impacts:
Module developers