In the backend of your plugin you can use the global strapi.contentTypes variable to fetch all Single and Collection types.
In the backend of your plugin you can use the global strapi.contentTypes variable to fetch all Single and Collection types.