function CourseObjectAccessConditional::optionsValidate in Course 6
Validate?
Overrides CourseHandler::optionsValidate
File
- plugins/
course/ access/ conditional.inc, line 71
Class
Code
function optionsValidate(&$form, &$values) {
if (module_exists('duration_element')) {
$values['conditional_time'] = $values['conditional_time']
->to_single_metric('seconds');
}
}