djblets.privacy.consent.hooks¶
Extension hooks for consent requirements.
- class ConsentRequirementHook(extension: Extension, *args, **kwargs)¶
Bases:
BaseRegistryHook
Registers a ConsentRequirement for use of personal data.
- property registry¶
The registry that the hook interfaces with.
- __parameters__ = ()¶
- hooks = []¶
- item: RegistryItemType¶
The item registered in the registry.
- remove_hook: Callable[['ExtensionHook', ExtensionHook], None] = <bound method ExtensionHookPoint.remove_hook of <class 'djblets.privacy.consent.hooks.ConsentRequirementHook'>>¶