function hook_skinr_ui_element_options in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr_ui/skinr_ui.api.php \hook_skinr_ui_element_options()
Provides available element options for a module.
These options are used on the 'add skin' form.
Parameters
$theme_name: (optional) The name of the theme to provide available options for. If no theme is given, the current theme is used.
Return value
An array consting of arrays of element options, keyed by the implementing module name. Each of these array consists of element name => title pairs.
See also
Related topics
6 functions implement hook_skinr_ui_element_options()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- block_skinr_ui_element_options in modules/
block.skinr.inc - Implements hook_skinr_ui_element_options().
- comment_skinr_ui_element_options in modules/
comment.skinr.inc - Implements hook_skinr_ui_element_options().
- node_skinr_ui_element_options in modules/
node.skinr.inc - Implements hook_skinr_ui_element_options().
- skinr_panels_skinr_ui_element_options in skinr_panels/
skinr_panels.skinr.inc - Implements hook_skinr_ui_element_options().
- system_skinr_ui_element_options in modules/
system.skinr.inc - Implements hook_skinr_ui_element_options().
File
- ./
skinr_ui.api.php, line 37 - 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_ui_element_options($theme_name = NULL) {
$options['block'] = array(
'system__main_menu' => 'Main Menu',
'system__navigation' => 'Navigation',
'search__form' => 'Search form',
);
return $options;
}