You are here

function course_webform_settings in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_webform/course_webform.module \course_webform_settings()
  2. 7 modules/course_webform/course_webform.module \course_webform_settings()

Settings form callback.

1 string reference to 'course_webform_settings'
course_webform_course_handlers in modules/course_webform/course_webform.module
Implements hook_course_handlers().

File

modules/course_webform/course_webform.module, line 59

Code

function course_webform_settings() {
  $form = array();
  $form['course_webform_settings_test'] = array(
    '#title' => t('Test'),
    '#type' => 'textarea',
    '#rows' => 5,
    '#description' => t('Test.'),
    '#default_value' => variable_get('course_webform_settings_test', ''),
  );
  return system_settings_form($form);
}