Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Modules like commerce and profile2 provide their own entities (ex product and profile) which aren't currently able to take advantage of this module.
-- From Austin D7 Semantic Web Workshop
Comment | File | Size | Author |
---|---|---|---|
#1 | 1296760_entity_1.patch | 12.88 KB | scor |
Comments
Comment #1
scor CreditAttribution: scor commentedThis patch remove the node-centric code and makes the field settings form work for all entities. For example it allows to make the user profile produce a rich snippet with the right fields setup (affiliation and job title, plus optionally a photo - note that a bio is also required for the rich snippet to work).
Comment #2
scor CreditAttribution: scor commentedI've committed #1 which is a major step towards entity support. It does not address the type on any entity yet, but fix the field UI form to work on all entities at least.
Comment #3
geek-merlin@scor: can you give a sketch of the path to go, what is still needed?
Comment #4
scor CreditAttribution: scor commentedSo right now nodes and users are supported. You can set the type of nodes via the regular edit content type form, and for user, the schema.org type is automatically set to schema.org/Person when you save you first user account field with a schema.org mapping.
Comment #5
Sheldon Rampton CreditAttribution: Sheldon Rampton commentedFYI, I've created a sandbox "Schema.org File Entity" module which makes Schema.org work with file entities:
https://drupal.org/sandbox/sheldon/2046911