original_string: public function submission_content_options() {
          global $CFG;
          require_once($CFG->dirroot.'/repository/lib.php');
  
          return array(
              'trusttext' => true,
              'subdirs' => false,
              'maxfiles' => $this->nattachments,
              'maxbytes' => $this->maxbytes,
              'context' => $this->context,
              'return_types' => FILE_INTERNAL | FILE_EXTERNAL,
            );
      }
code: public function submission_content_options() {
          global $CFG;
          require_once($CFG->dirroot.'/repository/lib.php');
  
          return array(
              'trusttext' => true,
              'subdirs' => false,
              'maxfiles' => $this->nattachments,
              'maxbytes' => $this->maxbytes,
              'context' => $this->context,
              'return_types' => FILE_INTERNAL | FILE_EXTERNAL,
            );
      }
code_tokens: public function submission_content_options ( ) { global $ CFG ; require_once ( $ CFG -> dirroot . '/repository/lib.php' ) ; return array ( 'trusttext' => true , 'subdirs' => false , 'maxfiles' => $ this -> nattachments , 'maxbytes' => $ this -> maxbytes , 'context' => $ this -> context , 'return_types' => FILE_INTERNAL | FILE_EXTERNAL , ) ; }
docstring: Return the editor options for the submission content field.
  
  @return array
docstring_tokens: Return the editor options for the submission content field .