diff --git a/core/modules/field/modules/options/options.module b/core/modules/field/modules/options/options.module index 9a95f0a..b89acaa 100644 --- a/core/modules/field/modules/options/options.module +++ b/core/modules/field/modules/options/options.module @@ -2,7 +2,7 @@ /** * @file - * Defines select, checkbox and radio button widgets. + * Defines select, checkbox, and radio button widgets. * * Text and numeric fields may use these widgets. */ @@ -166,7 +166,7 @@ function options_field_widget_settings_form($field, $instance) { } /** - * Form validation handler for options elements. + * Form element validation handler for options elements. */ function options_field_widget_validate($element, &$form_state) { if ($element['#required'] && $element['#value'] == '_none') { @@ -260,7 +260,7 @@ function _options_properties($type, $multiple, $required, $has_value) { * An array containing the properties of the widget. * * @return - * The option array for the field. + * The option array for the field. */ function _options_get_options($field, $instance, $properties) { // Get the list of options. @@ -314,9 +314,9 @@ function _options_prepare_options(&$options, $properties) { * @param $items * An array of stored field values. * @param $options - * The option array. + * The options array. * @param $column - * The field storage columns of the field. + * The field storage column of the field. * @param $properties * An array containing the properties of the widget. * @@ -382,6 +382,7 @@ function _options_form_to_storage($element) { * @param $array * The array to be transposed. It must be at least two-dimensional, and the * subarrays must all have the same keys or behavior is undefined. + * * @return * The transposed array. */ diff --git a/core/modules/field/modules/text/text.module b/core/modules/field/modules/text/text.module index d8f17e9..8da857a 100644 --- a/core/modules/field/modules/text/text.module +++ b/core/modules/field/modules/text/text.module @@ -144,7 +144,7 @@ function text_field_validate($entity_type, $entity, $field, $instance, $langcode /** * Implements hook_field_load(). * - * Where possible, thie function generates the sanitized version of each field + * Where possible, the function generates the sanitized version of each field * early so that it is cached in the field cache. This avoids the need to look * up the field in the filter cache separately. * @@ -308,7 +308,7 @@ function text_field_formatter_view($entity_type, $entity, $field, $instance, $la * The column to sanitize (either 'value' or 'summary'). * * @return - * The sanitized string. + * The sanitized string. */ function _text_sanitize($instance, $langcode, $item, $column) { // If the value uses a cacheable text format, text_field_load() precomputes