Core has support to hook into an event (see https://www.drupal.org/node/3079797) to change resource visibility and field names. This API should be used by extra's. I've been waiting for #3105318: Add a public API for aliasing resource type names to land in order to change this, but is has been too long imo, since slowly people are starting to use this API for other things, see for example #3112799: Ability to hide display_name from user-resource JSON .

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bbrala created an issue. See original summary.

bbrala’s picture

e0ipso’s picture

Status: Active » Reviewed & tested by the community

This looks great!

bbrala’s picture

  • bbrala committed 488eb98 on 8.x-3.x
    Issue #3218643 by bbrala, e0ipso: ResourceBuildEvents should be used for...
bbrala’s picture

Status: Reviewed & tested by the community » Fixed

Will be released in 3.19

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.