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

File

core/modules/field/modules/list/list.module

Functions

Namesort descending 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_boolean_display_formats List of boolean display formats.
list_boolean_display_format_options The display format options for boolean fields.
list_boolean_display_value_with_format Prepare the boolean display.
list_extract_allowed_values Parses a string of 'allowed values' into an array.
list_field_delete_field Implements hook_field_delete_field().
list_field_formatter_info Implements hook_field_formatter_info().
list_field_formatter_settings_form Implements hook_field_formatter_settings_form().
list_field_formatter_settings_summary Implements hook_field_formatter_settings_summary().
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_form_field_ui_field_edit_form_alter Implements hook_form_FORM_ID_alter().
list_options_list Implements hook_options_list().
_list_values_in_use Checks if a list of values are being used in actual field values.