You are here

function media_theme in D7 Media 6

Same name and namespace in other branches
  1. 7.4 media.module \media_theme()
  2. 7 media.module \media_theme()
  3. 7.2 media.module \media_theme()
  4. 7.3 media.module \media_theme()

Implements hook_theme(). Register theming functions

Return value

array

File

./media.module, line 105
Media API

Code

function media_theme() {
  return array(
    // The media file browser form.
    'media_file_browser' => array(
      'file' => 'media_theme.inc',
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    // The default media file list form element.
    'media_file_list' => array(
      'file' => 'media_theme.inc',
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    // The media browser pane.
    'media_browser_pane' => array(
      'file' => 'media_theme.inc',
      'arguments' => array(
        'form' => array(),
      ),
    ),
  );
}