function field_token_value_field_widget_form in Field Token Value 7
Implements hook_field_widget_form().
File
- ./
field_token_value.module, line 98 - Provides a field type allowing the value to be set using tokens.
Code
function field_token_value_field_widget_form(&$form, &$form_state, $field, $instance, $langcode, $items, $delta, $element) {
// As the output for this field is set within the instance settings, there is
// no need to display any form elements.
return array();
}