function course_content_extra_fields in Course 6
Implements hook_content_extra_fields().
File
- ./
course.module, line 1735 - course.module Core functionality for Courses.
Code
function course_content_extra_fields($type) {
$extras = array();
if (course_node_is_course($type)) {
$extras['course'] = array(
'label' => t('Course settings'),
'description' => t('Course settings and button.'),
'weight' => 0,
);
}
return $extras;
}