You are here

function ds_extras_form_ds_styles_form_alter in Display Suite 7

Implements hook_form_FORM_ID_alter().

File

modules/ds_extras/ds_extras.module, line 283
Display Suite extras main functions.

Code

function ds_extras_form_ds_styles_form_alter(&$form, &$form_state) {
  $form['ds_styles_fields'] = array(
    '#type' => 'textarea',
    '#title' => t('Styles for fields'),
    '#default_value' => variable_get('ds_styles_fields', ''),
    '#description' => t('Configure styles which you can add to fields on the "manage display" screens. Add multiple styles line per line.<br />If you want to have a friendly name, separate class and friendly name by |, but this is not required. eg:<br /><em>class_name_1<br />class_name_2|Friendly name<br />class_name_3</em>'),
  );
}