Place microdata attributes in field formatter

Last updated on
30 April 2025

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>

Help improve this page

Page status: Not set

You can: