function andromeda_slideshow_get_types in Andromeda Slideshow 7
Same name and namespace in other branches
- 7.2 andromeda_slideshow.module \andromeda_slideshow_get_types()
Gets availables slideshow types
3 calls to andromeda_slideshow_get_types()
- andromeda_slideshow_form in includes/
andromeda_slideshow.forms.inc - Add and edit slideshow form
- andromeda_slideshow_load_type in ./
andromeda_slideshow.module - Loads a slideshow type by the type name
- andromeda_slideshow_theme in ./
andromeda_slideshow.module - Implements hook_theme().
File
- ./
andromeda_slideshow.module, line 583 - Slideshow for the Andromeda (http://drupal.org/project/andromeda) Theme
Code
function andromeda_slideshow_get_types() {
$types = array();
foreach (module_implements('andromeda_slideshow_info') as $module) {
$type = module_invoke($module, 'andromeda_slideshow_info');
$type[key($type)]['module'] = $module;
//add module information
$types = array_merge($types, $type);
}
return $types;
}