You are here

function m4032404_admin_settings in 403 to 404 7

Custom function to display the administration form.

1 string reference to 'm4032404_admin_settings'
m4032404_menu in ./m4032404.module
Implements hook_menu().

File

./m4032404.module, line 53
403 to 404 module functions.

Code

function m4032404_admin_settings() {
  $form['m4032404_admin_only'] = array(
    '#type' => 'checkbox',
    '#title' => t('Enforce on Admin Only'),
    '#description' => t('Check the box to enforce the 404 behavior only on admin paths'),
    '#default_value' => variable_get('m4032404_admin_only', FALSE),
  );
  return system_settings_form($form);
}