matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.73k stars 2.63k forks source link

Link missing within the plugin dev documentation #19654

Open Chardonneaur opened 2 years ago

Chardonneaur commented 2 years ago

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.

justinvelluppillai commented 2 years ago

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.

Chardonneaur commented 2 years ago

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