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),
            ];
    }
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),
            ];
    }
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 ) , ] ; }
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
Get filepicker options for question related text areas .