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.
For many fields and field properties, the field formatter output must be altered to include the microdata properties.
Automatically placed
If a field has a property_type of 'text', 'integer', or 'decimal', attribute placement will be handled automatically by microdata module. The itemprop
attribute is added to the field wrapper.
The resulting HTML looks like this:
<div class="field-item even" itemprop="jobTitle">Drupal Developer</div>