correctRestrictivePurposes()
correctRestrictivePurposes(string $scope,array $vendor,array $restrictivePurposes,array $used)
"Correct" the restrictive purposes (e.g. `global` scope does not allow configurations) of a TCF vendor configuration. It fills `$used` with used declarations.
Parameters
string | $scope | Can be |
array | $vendor | The vendor object (including |
array | $restrictivePurposes | |
array | $used | Pass an empty array and it will automatically filled with used declarations |