function googleanalytics_paranoia_hide_permissions in Paranoia 8
Same name and namespace in other branches
- 7 paranoia.module \googleanalytics_paranoia_hide_permissions()
Implements hook_paranoia_hide_permissions().
On behalf of googleanalytics.module.
File
- ./
paranoia.module, line 229 - Disables PHP block visibility permission and gives status error if a role has this permission. Disables the PHP module. Hides the PHP and paranoia modules from the modules page. Prevents user/1 editing which could give access to abitrary contrib…
Code
function googleanalytics_paranoia_hide_permissions() {
return [
'use PHP for tracking visibility',
];
}