function theme_hierarchical_select_special_option in Hierarchical Select 5.3
Same name and namespace in other branches
- 6.3 includes/theme.inc \theme_hierarchical_select_special_option()
- 7.3 includes/theme.inc \theme_hierarchical_select_special_option()
Format a special option in a Hierarchical Select select. For example the "none" option or the "create new item" option. This theme function allows you to change how a special option is indicated textually.
Parameters
$option: A special option.
Return value
A textually indicated special option.
1 theme call to theme_hierarchical_select_special_option()
- _hierarchical_select_hierarchy_generate in ./
hierarchical_select.module - Generate the hierarchy object.
File
- ./
hierarchical_select.module, line 2320 - This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select items in a hierarchy.
Code
function theme_hierarchical_select_special_option($option) {
return '<' . $option . '>';
}