original_string: public static function get_filepicker_options($context, $draftitemid) {
          return [
                  'image' => self::specific_filepicker_options(['image'], $draftitemid, $context),
                  'media' => self::specific_filepicker_options(['video', 'audio'], $draftitemid, $context),
                  'link'  => self::specific_filepicker_options('*', $draftitemid, $context),
              ];
      }
code: public static function get_filepicker_options($context, $draftitemid) {
          return [
                  'image' => self::specific_filepicker_options(['image'], $draftitemid, $context),
                  'media' => self::specific_filepicker_options(['video', 'audio'], $draftitemid, $context),
                  'link'  => self::specific_filepicker_options('*', $draftitemid, $context),
              ];
      }
code_tokens: public static function get_filepicker_options ( $ context , $ draftitemid ) { return [ 'image' => self :: specific_filepicker_options ( [ 'image' ] , $ draftitemid , $ context ) , 'media' => self :: specific_filepicker_options ( [ 'video' , 'audio' ] , $ draftitemid , $ context ) , 'link' => self :: specific_filepicker_options ( '*' , $ draftitemid , $ context ) , ] ; }
docstring: Get filepicker options for question related text areas.
  @param object $context the context.
  @param int $draftitemid the draft area item id.
  @return array An array of options
docstring_tokens: Get filepicker options for question related text areas .