You are here

function form_options_expand in Options Element 7

Same name and namespace in other branches
  1. 6 options_element.module \form_options_expand()

Expand the "options" form element type.

The "options" type is simply an enhanced textarea that makes it easier to create key|value pairs and put items into optgroups.

1 string reference to 'form_options_expand'
options_element_element_info in ./options_element.module
Implements hook_element_info().

File

./options_element.module, line 123
Defines an "options" form element type for entering select list options.

Code

function form_options_expand($element) {
  module_load_include('inc', 'options_element');
  return _form_options_expand($element);
}