Improve https://inverseOf support via Corresponding Entity References module

Created on 8 May 2023, about 1 year ago
Updated 9 May 2023, about 1 year ago

Problem/Motivation

To build a connected schema we need to make sure that there are corresponding entity references from properties that have inverse relationships.

For example, when a https://schema.org/Person is a member of an https://schema.org/Organization the https://schema.org/Organization should list that https://schema.org/Person as a https://schema.org/memberOf.

Proposed resolution

Improve https://inverseOf support via Corresponding Entity References module ( https://www.drupal.org/project/cer ).

Notes

  • Corresponding entity reference fields must be automatically enabled.
  • When a field/property is created, the CER should be updated
  • CER machine name should be the inverseOf property.
    • name: schema_subjectOf
    • label: schema.org/subjectOf
  • The inverse of behaviors should mainly apply to nodes (and maybe users).

TBD

  • Should inverse automatically be calculated for all nodes? Needs testing

Inverse of: parent/child

Remaining tasks

  • Add README.md
  • Write tests
  • Update demo

User interface changes

N/A

API changes

N/A

Data model changes

Better corresponding entity references

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States jrockowitz Brooklyn, NY

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

Comments & Activities

Production build 0.69.0 2024