You are here

function media_display_types in D7 Media 7

Get all display types.

2 calls to media_display_types()
media_admin in includes/media.admin.inc
Display the list or thumbnails media admin display.
media_admin_display_switch in includes/media.admin.inc
Build the display switch portion of the file listings form.
1 string reference to 'media_display_types'
media_hook_info in ./media.module
Implements hook_hook_info().

File

./media.module, line 603
Media API

Code

function media_display_types() {
  $types =& drupal_static(__FUNCTION__);
  if (!$types) {
    $types = module_invoke_all('media_display_types');
    drupal_alter('media_display_types', $types);
  }
  return $types;
}