public function process_customfield($data) {
        $handler = core_course\customfield\course_handler::create();
        $handler->restore_instance_data_from_backup($this->task, $data);
    }
public function process_customfield($data) {
        $handler = core_course\customfield\course_handler::create();
        $handler->restore_instance_data_from_backup($this->task, $data);
    }
public function process_customfield ( $ data ) { $ handler = core_course \ customfield \ course_handler :: create ( ) ; $ handler -> restore_instance_data_from_backup ( $ this -> task , $ data ) ; }
Process custom fields

@param array $data
Process custom fields