entity_labels
6 sites
No security coverage
Entity Labels provides a Reports page that surfaces all entity type and field label metadata in one place — with CSV export and CSV import for bulk updates. It has no hard module dependencies beyond Drupal core. Optional integrations with Field Group and Custom Field are activated automatically when those modules are present.
▶ Watch an introduction to Entity/Field Labels
Features
Browse, export, and bulk-update every entity type and field label on your Drupal site — with multilingual support out of the box.
Browse & Explore
- Entities tab — browse all entity types that support bundles; drill down by entity type; view label, description, and help text.
- Fields tab — browse all fields across all bundles; drill down by entity type and bundle; view label, description, field type, and allowed values. Fields are ordered to match the default form display on bundle views.
Export & Import
- CSV export — scoped to the current view (all, entity type, or bundle). Every export includes a
notescolumn and alangcodecolumn to target translations. - CSV import — upload a modified CSV to bulk-update labels and descriptions.
allowed_valuesandfield_typeare display-only and never imported. - Multilingual — import targets the language specified in the
langcodecolumn.
Optional Module Support
- Field Group — groups from the default form mode appear as rows with
field_type = field_group; group label and description are exportable and importable. - Custom Field (4.x) — each column within a custom field gets its own row with a
field_columnidentifier; column label and description are exportable and importable.
Drush Commands
entity-labels:entity-export— export entity labels to CSV; supports--entity-typefilter.entity-labels:field-export— export field labels to CSV; supports--entity-typeand--bundlefilters.entity-labels:entity-import /path/to/file.csv— import entity labels from CSV.entity-labels:field-import /path/to/file.csv— import field labels from CSV.
Getting Started
- Install the module:
composer require drupal/entity_labels - Enable it:
drush en entity_labels - Navigate to Administration → Reports → Entity/Field Labels.
- Use the Entities and Fields tabs to browse metadata.
- Click an entity type or bundle cell to filter the view.
- Click ⇩ Download CSV to export, edit offline, then use the Import tab to apply changes.
Permissions
- access site reports — view the Reports page and download CSV exports.
- administer site configuration — upload CSV imports to bulk-update labels.
🤖 A note on AI-assisted development
This module was created using AI and understood by humans. The maintainer reviewed, tested, and takes responsibility for every line of code — consistent with the philosophy described in Never submit code you do not understand by Dries Buytaert.