You are here

function devel_paranoia_hide_routes in Paranoia 8

Implements hook_paranoia_hide_routes().

On behalf of devel.module

File

./paranoia.module, line 265
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 devel_paranoia_hide_routes() {
  return [
    'devel.execute_php',
  ];
}