You are here

function theme_tac_fields_admin in Taxonomy Access Control 6

Renders the main admin page (at admin/user/tac_fields).

Return value

String containing rendered markup for the field's administration.

1 call to theme_tac_fields_admin()
tac_fields_admin in tac_fields/tac_fields.admin.inc
Menu callback for TAC Fields admin page (admin/user/tac_fields).

File

tac_fields/tac_fields.admin.inc, line 44
Administrative interface for TAC Fields.

Code

function theme_tac_fields_admin() {
  $output = '';
  $add_form = tac_fields_add_form();
  $output .= drupal_get_form('tac_fields_add_form');

  // Get a list of all fields we control.
  $fields = _tac_fields_controlled_fields();
  foreach ($fields as $field) {
    $output .= _tac_fields_admin_for_field($field);
  }
  return $output;
}