How to Add a Custom GDPR Data Extractor Provider
Overview
This example adds a custom data source to the GDPR Data Extractor in Pimcore Studio. The GDPR Data Extractor searches, exports, and deletes personal data across multiple providers (data objects, assets, users, sent mails). A custom provider extends this with application-specific data or external systems.
Details
Each provider consists of a PHP backend (implementing DataProviderInterface) and a
React/TypeScript frontend (extending DynamicTypeAbstractGDPRProvider). The backend handles
searching, exporting, and deleting data. The frontend renders a tab with a sortable grid
of search results.
The example implements:
- A backend
DataProviderInterfacewith search, export, and permission handling - A tab component using the SDK's
GridandExportButtonto display results - A dynamic type class that connects the tab to the GDPR framework
- Plugin and module registration that hooks into the
DynamicTypeGDPRProviderRegistry
The backend provider's getKey() must match the frontend dynamic type's id property.
Pimcore Studio uses this key to pair each backend provider with its frontend tab.
For configuration and usage details, see the GDPR Data Extractor documentation in the Pimcore core.
