You are here

function block_access_admin_list in Block Access 6

Same name and namespace in other branches
  1. 6.2 block_access.admin.inc \block_access_admin_list()
  2. 7 block_access.admin.inc \block_access_admin_list()
1 string reference to 'block_access_admin_list'
block_access_menu in ./block_access.module

File

./block_access.admin.inc, line 7

Code

function block_access_admin_list() {
  $form['list'] = array();
  $modules = module_implements('block');
  foreach ($modules as $key => $module) {
    $form['list'][$key] = array(
      'name' => array(
        '#value' => $module,
      ),
    );
  }
  return $form;
}