You are here

function og_vocab_admin_settings in OG Vocabulary 7

Admin form settings.

1 string reference to 'og_vocab_admin_settings'
og_vocab_menu in ./og_vocab.module
Implements hook_menu().

File

includes/og_vocab.admin.inc, line 11
OG-vocab admin settings

Code

function og_vocab_admin_settings($form_state) {
  $form['og_vocab_term_page_access'] = array(
    '#type' => 'checkbox',
    '#title' => t('Term page access'),
    '#description' => t('When enabled, access to taxonomy/term/[tid] will be controlled by OG-vocab'),
    '#default_value' => variable_get('og_vocab_term_page_access', FALSE),
  );
  return system_settings_form($form);
}