function delta_theme in Delta 6
Same name and namespace in other branches
- 7 delta.module \delta_theme()
Implementation of hook_theme
Parameters
$existing: An array of existing implementations that may be used for override purposes. This is primarily useful for themes that may wish to examine existing implementations to extract data (such as arguments) so that it may properly register its own, higher priority implementations.
$type : What 'type' is being processed. This is primarily useful so that themes tell if they are the actual theme being called or a parent theme.
$theme : The actual name of theme that is being being checked (mostly only useful for theme engine).
$path : The directory path of the theme or module, so that it doesn't need to be looked up.
Return value
array() Modules and themes implementing this return an array of arrays. The key to each sub-array is the internal name of the hook, and the array contains info about the hook.
See also
http://api.drupal.org/api/function/hook_theme/6
File
- ./
delta.module, line 185 - The Delta Theme API is an advanced manipulation of the Theme Settings API to allow for customization/configuration of theme settings based on node types, context, or groups of paths.
Code
function delta_theme($existing, $type, $theme, $path) {
return array(
'delta_theme_overrides_form' => array(
'arguments' => array(
'form' => NULL,
),
//'file' => 'theme-functions.inc',
'template' => 'delta-override-form',
),
);
}