Add suport for contact roles with static/fixed treaty

Created on 23 January 2024, 12 months ago
Updated 6 July 2024, 6 months ago

Motivation

I want to output the structure of the roles for a contact just like the docs:
https://app.swaggerhub.com/apis/eaudeweb-drupal/InforMEA-D8-API/2.0#/dev...

...
"roles": [
      {
        "treaty": "montreal",
        "role": "Primary NFP"
      },
      {
        "treaty": "montreal",
        "role": "Technical group lead"
      },
      {
        "treaty": "vienna",
        "role": "Support contact"
      }
    ],
...

Proposed resolution

In my use case the role is a taxonomy term so I need a formatter that output the label of that term.

Remaining tasks

Code

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain rodrigoaguilera Barcelona

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024