You are here

function theme_hierarchical_select_special_option in Hierarchical Select 6.3

Same name and namespace in other branches
  1. 5.3 hierarchical_select.module \theme_hierarchical_select_special_option()
  2. 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

includes/theme.inc, line 148
All theme functions for the Hierarchical Select module.

Code

function theme_hierarchical_select_special_option($option) {
  return '<' . $option . '>';
}