function emfield_theme in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 emfield.module \emfield_theme()
- 6.2 emfield.module \emfield_theme()
Implementation of hook_theme().
File
- ./
emfield.module, line 25 - Embedded Media Field is a CCK-based framework for embedding media files.
Code
function emfield_theme($existing, $type, $theme, $path) {
$themes = array();
// If we require legacy support, then load the old menu items.
if (emfield_check_for_deprecated_modules()) {
$themes = _emfield_deprecated_theme($existing, $type, $theme, $path);
}
$themes['emfield_formatter_default'] = array(
'arguments' => array(
'element' => NULL,
),
'path' => $path . '/includes/themes',
'file' => 'emfield.themes.inc',
);
return $themes;
}