You are here

function paranoia_module_validate in Paranoia 7

Same name and namespace in other branches
  1. 8 paranoia.module \paranoia_module_validate()

Custom validation function to make sure no banned modules were enabled.

1 string reference to 'paranoia_module_validate'
paranoia_form_system_modules_alter in ./paranoia.module
Implements hook_form_FORM_ID_alter().

File

./paranoia.module, line 78
Paranoia module file. Provides various extra security features.

Code

function paranoia_module_validate($form, &$form_state) {
  paranoia_remove_disabled_modules();
}