Needs review
Project:
Schema.org Metatag
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Dec 2025 at 11:06 UTC
Updated:
13 Apr 2026 at 18:07 UTC
Jump to comment: Most recent
Comments
Comment #2
macsim commentedComment #5
echechulina commentedAdded src/Attribute/SchemaPropertyType.phpextending AttributeBase, updated PropertyTypeManager to pass both the attribute and annotation classes to DefaultPluginManager for dual-mode discovery, and added #[SchemaPropertyType(...)] attributes to all 43 PropertyType plugins. Existing @SchemaPropertyType() docblock annotations are kept for backward compatibility.
Branch: 3562631-convert-plugin-types
Comment #6
macsim commentedThanks for the MR
Few comments:
3.0.x-devinstead of8.x-2.xSince Drupal 9 has reached its EOL, I suggest dropping drupal 9 support (but it's up to a schema_metatag maintainer to take that decision).
Leaving the Needs review status for maintainers.
Comment #7
damienmckennaYes, the MR should target 3.0.x, the 8.x-2.x branch is minimally unsupported.
Metatag requires 10.3, so it's ok for Schema Metatag to do likewise.
It might be easiest to recreate the MR from scratch using 3.0.x and not including irrelevant changes.
Comment #11
macsim commentedcomposer.jsonandschema_metatag.info.ymlto require at least drupal 10.3, metatag 2.2 and therefore PHP8.1metatag module doesn't provide attributes yet.Submodules also need some updates to use metatag attributes.
Comment #12
macsim commentedSeems like everything needed is in.
We also will need to update Group and Tag definitions in sub-modules but that can be done in another issue and would need following issues to be released
Edit: We should introduce a
@deprecated in %deprecation-version% and is removed from %removal-version%+@see %cr-link%inDrupal\schema_metatag\Annotation\SchemaPropertyTypephpdoc.I didn't did it cause I am not sure about the versions numbers.
Up to the maintainers,
Comment #13
macsim commentedComment #14
damienmckennaThank you for your work on this, macsim, we'll review it and get it finished off for the next release.