You are here

function theme_hierarchical_select_special_option in Hierarchical Select 7.3

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

array $variables: A special option.

Return value

string 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 147
All theme functions for the Hierarchical Select module.

Code

function theme_hierarchical_select_special_option($variables) {
  $option = $variables['option'];
  return '<' . $option . '>';
}