original_string: public static function get_editor_options($context) {
          global $CFG;
  
          $editoroptions = [
                  'subdirs'  => 0,
                  'context'  => $context,
                  'maxfiles' => EDITOR_UNLIMITED_FILES,
                  'maxbytes' => $CFG->maxbytes,
                  'noclean' => 0,
                  'trusttext' => 0,
                  'autosave' => false
          ];
  
          return $editoroptions;
      }
code: public static function get_editor_options($context) {
          global $CFG;
  
          $editoroptions = [
                  'subdirs'  => 0,
                  'context'  => $context,
                  'maxfiles' => EDITOR_UNLIMITED_FILES,
                  'maxbytes' => $CFG->maxbytes,
                  'noclean' => 0,
                  'trusttext' => 0,
                  'autosave' => false
          ];
  
          return $editoroptions;
      }
code_tokens: public static function get_editor_options ( $ context ) { global $ CFG ; $ editoroptions = [ 'subdirs' => 0 , 'context' => $ context , 'maxfiles' => EDITOR_UNLIMITED_FILES , 'maxbytes' => $ CFG -> maxbytes , 'noclean' => 0 , 'trusttext' => 0 , 'autosave' => false ] ; return $ editoroptions ; }
docstring: Get editor options for question related text areas.
  @param object $context the context.
  @return array An array of options
docstring_tokens: Get editor options for question related text areas .