function course_settings_objects_form in Course 6
Course objects settings handler callback.
1 string reference to 'course_settings_objects_form'
- course_course_handlers in ./
course.module - Implements hook_course_handlers().
File
- includes/
course.settings.inc, line 53 - Administrative settings for Course module.
Code
function course_settings_objects_form() {
$form = array();
$form['course_object_custom_fields'] = array(
'#title' => t('Custom course object fields'),
'#type' => 'textarea',
'#rows' => 5,
'#description' => t('Enter a key|value format to enable custom fields on course objects.'),
'#default_value' => variable_get('course_object_custom_fields', ''),
'#element_validate' => array(
'course_check_keyval',
),
);
return system_settings_form($form);
}