You are here

function theme_finder_optionwidgets_buttons_option in Finder 7

Same name and namespace in other branches
  1. 6 modules/finder_optionwidgets/finder_optionwidgets.module \theme_finder_optionwidgets_buttons_option()

Theme a buttons option.

Parameters

$option: The choice data object.

$element: The finder element object.

File

modules/finder_optionwidgets/finder_optionwidgets.module, line 308
The finder optionwidgets module.

Code

function theme_finder_optionwidgets_buttons_option($variables) {
  extract($variables);
  return $option->{$option->display_field};
}