function ml_image_get_sources in Media Library 6
Loads all sources implemented on other modules
8 calls to ml_image_get_sources()
- ml_image_basic_existing_source_form in ml_image/
ml_image_basic/ ml_image_basic.module - Form for checking existing images.
- ml_image_settings in ml_image/
ml_image.module - Settings form for Media Library settings page
- ml_image_source_options_form in ml_image/
ml_image.module - Form for selection source options
- ml_image_source_options_form_submit in ml_image/
ml_image.module - Submit callback for ml_image_source_options_form()
- ml_image_source_options_form_validate in ml_image/
ml_image.module - Validate callback for ml_image_source_options_form()
File
- ml_image/
ml_image.module, line 495 - Media Library Image module.
Code
function ml_image_get_sources() {
static $sources;
if (!is_array($sources)) {
$sources = module_invoke_all('ml_image_source');
}
return $sources;
}