You are here

function theme_google_admanager_custom_variables in DFP Small Business (Google Ad Manager) 6.3

1 theme call to theme_google_admanager_custom_variables()
google_admanager_admin_settings_form in ./google_admanager.admin.inc
Implementation of hook_admin_settings() for configuring the module.

File

./google_admanager.admin.inc, line 360
Admin functionality.

Code

function theme_google_admanager_custom_variables($form) {
  $head = array(
    t('Variable'),
    t('Value'),
    '',
  );
  $rows = array();
  foreach (element_children($form) as $key) {
    $rows[] = array(
      drupal_render($form[$key]['key']),
      drupal_render($form[$key]['value']),
      drupal_render($form[$key]['delete']),
    );
  }
  return theme('table', $head, $rows);
}