original_string: public static function build_editor_options(\context $context) {
          global $CFG;
  
          return [
              'context' => $context,
              'maxfiles' => EDITOR_UNLIMITED_FILES,
              'maxbytes' => $CFG->maxbytes,
              'noclean' => true,
              'autosave' => false
          ];
      }
code: public static function build_editor_options(\context $context) {
          global $CFG;
  
          return [
              'context' => $context,
              'maxfiles' => EDITOR_UNLIMITED_FILES,
              'maxbytes' => $CFG->maxbytes,
              'noclean' => true,
              'autosave' => false
          ];
      }
code_tokens: public static function build_editor_options ( \ context $ context ) { global $ CFG ; return [ 'context' => $ context , 'maxfiles' => EDITOR_UNLIMITED_FILES , 'maxbytes' => $ CFG -> maxbytes , 'noclean' => true , 'autosave' => false ] ; }
docstring: Build the editor options using the given context.
  
  @param \context $context A Moodle context
  @return array
docstring_tokens: Build the editor options using the given context .