You are here

function hook_ds_field_settings_alter in Display Suite 7.2

Same name and namespace in other branches
  1. 7 ds.api.php \hook_ds_field_settings_alter()

Modify the field settings before they get saved.

Parameters

$field_settings: A collection of field settings which keys are fields.

$form: The current form which is submitted.

$form_state: The form state with all its values.

1 function implements hook_ds_field_settings_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

ds_extras_ds_field_settings_alter in modules/ds_extras/ds_extras.module
Implements hook_ds_field_settings_alter().
1 invocation of hook_ds_field_settings_alter()
ds_field_ui_fields_save in includes/ds.field_ui.inc
Save the field settings from the 'Manage display' screen.

File

./ds.api.php, line 388
Hooks provided by Display Suite module.

Code

function hook_ds_field_settings_alter(&$field_settings, $form, $form_state) {
  $field_settings['title']['region'] = 'left';
}