1 options.module form_options_expand($element)

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.

File

core/modules/field/modules/options/options.module, line 517
Defines selection, check box and radio button widgets for text and numeric fields.

Code

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