Search for options

  1. Search 9.5.x for options
  2. Search 8.9.x for options
  3. Search 10.3.x for options
  4. Search 11.x for options
  5. Other projects
Title Object type File name Summary
OptionsWidgetsTestCase::testSelectListSingle function modules/field/modules/options/options.test Tests the 'options_select' widget (single select).
options_array_flatten function modules/field/modules/options/options.module Flattens an array of allowed values.
options_array_transpose function modules/field/modules/options/options.module Manipulates a 2D array to reverse rows and columns.
options_field_widget_error function modules/field/modules/options/options.module Implements hook_field_widget_error().
options_field_widget_form function modules/field/modules/options/options.module Implements hook_field_widget_form().
options_field_widget_info function modules/field/modules/options/options.module Implements hook_field_widget_info().
options_field_widget_settings_form function modules/field/modules/options/options.module Implements hook_field_widget_settings_form().
options_field_widget_validate function modules/field/modules/options/options.module Form element validation handler for options element.
options_help function modules/field/modules/options/options.module Implements hook_help().
options_theme function modules/field/modules/options/options.module Implements hook_theme().
Query::$queryOptions property includes/database/query.inc The query options to pass on to the connection object.
taxonomy_options_list function modules/taxonomy/taxonomy.module Implements hook_options_list().
theme_options_none function modules/field/modules/options/options.module Returns HTML for the label for the empty value for options that are not required.
_form_options_flatten function includes/form.inc Iterates over an array and returns a flat array with duplicate keys removed.
_menu_get_options function modules/menu/menu.module Helper function to get the items of the given menu.
_options_form_to_storage function modules/field/modules/options/options.module Transforms submitted form values into field storage format.
_options_get_options function modules/field/modules/options/options.module Collects the options for a field.
_options_prepare_options function modules/field/modules/options/options.module Sanitizes the options.
_options_properties function modules/field/modules/options/options.module Describes the preparation steps required by each widget.
_options_storage_to_form function modules/field/modules/options/options.module Transforms stored field values into the format the widgets need.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.