You are here

function hook_ds_layout_settings_alter in Display Suite 7.2

Same name and namespace in other branches
  1. 8.4 ds.api.php \hook_ds_layout_settings_alter()
  2. 8.2 ds.api.php \hook_ds_layout_settings_alter()
  3. 8.3 ds.api.php \hook_ds_layout_settings_alter()
  4. 7 ds.api.php \hook_ds_layout_settings_alter()

Modify the layout settings just before they get saved.

Parameters

$record: The record just before it gets saved into the database.

$form_state: The form_state values.

1 function implements hook_ds_layout_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_layout_settings_alter in modules/ds_extras/ds_extras.module
Implements hook_ds_layout_settings_alter().
2 invocations of hook_ds_layout_settings_alter()
ds_field_ui_layouts_save in includes/ds.field_ui.inc
Save the layout settings from the 'Manage display' screen.
ds_field_ui_layout_clone in includes/ds.field_ui.inc
Clone a fields layout.

File

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

Code

function hook_ds_layout_settings_alter($record, $form_state) {
  $record->settings['hide_page_title'] = TRUE;
}