list.module

Defines list field types that can be used with the Options module.

File

modules/field/modules/list/list.module

Functions

Name Description
list_allowed_values Returns the array of allowed values for a list field.
list_allowed_values_setting_validate Element validate callback; check that the entered values are valid.
list_allowed_values_string Generates a string representation of an array of 'allowed values'.
list_boolean_allowed_values_callback Form element #value_callback: assembles the allowed values for 'boolean' fields.
list_extract_allowed_values Parses a string of 'allowed values' into an array.
list_field_formatter_info Implements hook_field_formatter_info().
list_field_formatter_view Implements hook_field_formatter_view().
list_field_info Implements hook_field_info().
list_field_is_empty Implements hook_field_is_empty().
list_field_settings_form Implements hook_field_settings_form().
list_field_update_field Implements hook_field_update_field().
list_field_update_forbid Implements hook_field_update_forbid().
list_field_validate Implements hook_field_validate().
list_field_widget_info_alter Implements hook_field_widget_info_alter().
list_help Implements hook_help().
list_options_list Implements hook_options_list().
_list_values_in_use Checks if a list of values are being used in actual field values.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!modules!list!list.module/7.x