// Let's asume we want to do this as part of the fictitious license_options_extra module
function license_options_extra_unsubscribe() {
return array(
'notspecified',
)
}
This doesn't work, if you create a module named license_options_extra the hook should be license_options_extra_license_unsubscribe
In this file you can read:
The hook example should be unsubscribe not subscribe
Plus, the documentation generated here: https://media.readthedocs.org/pdf/dkan/latest/dkan.pdf it's not correct. In page 22 says:
This doesn't work, if you create a module named license_options_extra the hook should be license_options_extra_license_unsubscribe