You are here

function ds_preprocess_field_form_validate in Display Suite 7

Same name and namespace in other branches
  1. 6.3 includes/ds.fields.inc \ds_preprocess_field_form_validate()
  2. 6 includes/ds.fields.inc \ds_preprocess_field_form_validate()
  3. 6.2 includes/ds.fields.inc \ds_preprocess_field_form_validate()
  4. 7.2 modules/ds_ui/includes/ds.fields.inc \ds_preprocess_field_form_validate()

CTools field form validation.

1 string reference to 'ds_preprocess_field_form_validate'
ds_edit_preprocess_field_form in ./ds.fields.inc
Manage a Preprocess field.

File

./ds.fields.inc, line 331
Administrative functions for managing custom fields for every entity.

Code

function ds_preprocess_field_form_validate($form, &$form_state) {
  $form_state['field']->field_type = DS_FIELD_TYPE_PREPROCESS;
}