You are here

function _webform_options_select in Webform 7.4

Implements _webform_options_component().

This function is confusingly an alias of _webform_select_options(). However this version is intended to be accessed publicly via webform_component_invoke(), since it is a Webform "hook", rather than an internal, private function. To get the list of select list options for a component, use:

$options = webform_component_invoke($component['type'], 'options', $component);

File

components/select.inc, line 884
Webform module multiple select component.

Code

function _webform_options_select($component, $flat = FALSE) {
  return _webform_select_options($component, $flat);
}