This project is not covered by Drupal’s security advisory policy.

Moves RDFa property from the field (wrapper) to be available and finally added to the actual rendered referenced entity. Working on use case such as: https://www.drupal.org/node/2052355
Also handles single/multiple field items.

Without (simplified output):-

<div class="field field-name-field-entityreference-instance field-type-entityreference">
  <div class="field-items">
    <div class="field-item" property="schema:location">
      <div class="entity entity-location location-location clearfix" typeof="schema:Place">

[rendered entity 0]

      </div>
    </div>
    <div class="field-item" property="schema:location">
      <div class="entity entity-location" typeof="schema:Place">

[rendered entity 1]

      </div>
    </div>
  </div>
</div>

With:-

<div class="field field-name-field-entityreference-instance field-type-entityreference">
  <div class="field-items">
    <div class="field-item">
      <div class="entity entity-location" typeof="schema:Place" property="schema:location" inlist="">

[rendered entity 0]

      </div>
    </div>
    <div class="field-item">
      <div class="entity entity-location" typeof="schema:Place" property="schema:location" inlist="">

[rendered entity 2]

      </div>
    </div>
  </div>
</div>

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution No further development
    No longer developed by its maintainers.
  • Ecosystem: RDFa
  • Created by ekes on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases