Part of the Entity ecosystem · 308 projects
This module allows you to control how entities are represented in JSON output by selecting specific view modes. You can enable or disable fields for normalization, and it supports normalizing paragraphs, taxonomy terms, and file entities, including their URLs. The module also serializes field values based on their cardinality.
This module supports to normalize the entity by view mode.
Features
- Able to select a view mode to normalize the entity.
- Able to disable or enable the field on json output by drag&drop in the view mode config.
- Able to select the view mode for normalize in View Rest Export.
- Normalize Paragraph by view mode.
- Normalize Taxonomy Term by view mode.
- Serialize field value to single object or array depend on field's cardinality setting.
- Normalize file entity and add file URL to it.
Installation
composer require drupal/entity_view_mode_normalize
drush en entity_view_mode_normalize
Dependencies
Configuration
To be update...
Mutual support
- Entity View Mode Normalize
- Entity View Mode Field Plugin
Ask your assistant about Entity View Mode Normalize
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
- rest Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Entity ecosystem
Most installed first