function mongodb_block_form_system_modules_alter in MongoDB 7
Implements hook_form_system_modules_alter().
Hides block, dashboard module.
File
- mongodb_block/
mongodb_block.module, line 71 - Controls the visual building blocks a page is constructed with.
Code
function mongodb_block_form_system_modules_alter(&$form) {
unset($form['modules']['Core']['block']);
unset($form['modules']['Core']['dashboard']);
}