Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Field Attribute

No security coverage Maintenance fixes only 20 sites

This module allows you to add custom HTML attributes to any text field. These attributes can be configured in the "Manage display" settings for your content types and other entities.

Description

This module allows you to add additional HTML attributes for any text field.

Install

If your site is managed via Composer, use Composer to download the module.

composer require drupal/field_attribute:^2.0

Or

Install the module as any other module.

Enable

Enable the module in 'Extend' page (/admin/modules).

Or

use Drush: drush en field_attribute

Usage

The field formatter attributes settings are found in the Manage display tab for content types, users, and other entities. A options element is available for each textfield field formatter, revealed by using the formatter settings edit button (Gear wheel icon) for that field.

Drupal 8–11

Ask your assistant about Field Attribute

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Nov 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.4 Stable 8–11 Nov 15, 2024
2.0.3 Stable 8–10 Nov 29, 2023
2.0.2 Stable 8–10 Nov 1, 2023
2.x-dev Dev 8–11 Nov 1, 2023