function hook_skinr_theme_hooks in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr.api.php \hook_skinr_theme_hooks()
Provide a list of all available theme hooks for a given element.
Parameters
$module: The module implementing given element.
$element: An element.
Return value
An array of theme hooks.
Related topics
6 functions implement hook_skinr_theme_hooks()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- block_skinr_theme_hooks in modules/
block.skinr.inc - Implements hook_skinr_theme_hooks().
- comment_skinr_theme_hooks in modules/
comment.skinr.inc - Implements hook_skinr_theme_hooks().
- node_skinr_theme_hooks in modules/
node.skinr.inc - Implements hook_skinr_theme_hooks().
- skinr_panels_skinr_theme_hooks in skinr_panels/
skinr_panels.skinr.inc - Implements hook_skinr_theme_hooks().
- system_skinr_theme_hooks in modules/
system.skinr.inc - Implements hook_skinr_theme_hooks().
File
- ./
skinr.api.php, line 47 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_skinr_theme_hooks($module, $element) {
$theme_hooks = array();
if ($module == 'node') {
$theme_hooks = array(
'node_' . $element,
'node',
);
}
return $theme_hooks;
}