This project is not covered by Drupal’s security advisory policy.

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

- RESTful Web Services

Configuration

To be update...

Mutual support

- Entity View Mode Normalize
- Entity View Mode Field Plugin

Supporting organizations: 

Project information

Releases