matomo icon indicating copy to clipboard operation
matomo copied to clipboard

Link missing within the plugin dev documentation

Open Chardonneaur opened this issue 1 year ago • 2 comments

Hi,

On the following page: https://developer.matomo.org/api-reference/Piwik/Settings/FieldConfig it is indicated "Describes what HTML element should be used to manipulate the setting through Matomo's UI. See Piwik\Plugin\Settings for a list of supported control types." but there is no link associated to it, as a result, we have no ideas about what are the different control types.

Chardonneaur avatar Aug 21 '22 14:08 Chardonneaur

Thanks for the report. It looks like Piwik\Plugin\Settings was removed in https://github.com/matomo-org/matomo/issues/7983 so this documentation needs updating.

The available control types are now in directly in Piwik\Settings\FieldConfig.

I will put this in backlog for now to be prioritised.

justinvelluppillai avatar Aug 21 '22 21:08 justinvelluppillai

@justinvelluppillai thank you so much, it unlocks my project.

Chardonneaur avatar Aug 22 '22 06:08 Chardonneaur