Allow to make provider readable title

Created on 12 March 2024, 9 months ago

Problem/Motivation

This is not a critical issue but atm when we create a plugin to provide new provider types we always have to use only some machine name values (IDs)

But sometimes you want to add more description. That is, the type value can be short, but the description/title will explain the purpose of the type.
This can make it much easier to set up mappings and also allow other developers to more clearly understand the purpose of the type without the need for detailed documentation.

Proposed resolution

Extend the current getTypes() functionality to allow setting up the option title/label/description: [ID => Label]
Also, we need to keep the old solution to not break the sites that already contain an old solution - [ID]

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024