function hook_ds_layout_settings_alter in Display Suite 7
Same name and namespace in other branches
- 8.4 ds.api.php \hook_ds_layout_settings_alter()
- 8.2 ds.api.php \hook_ds_layout_settings_alter()
- 8.3 ds.api.php \hook_ds_layout_settings_alter()
- 7.2 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().
5 invocations of hook_ds_layout_settings_alter()
- ds_field_ui_layouts_save in ./
ds.field_ui.inc - Save the layout settings from the 'Manage display' screen.
- ds_field_ui_layout_clone in ./
ds.field_ui.inc - Clone a fields layout.
- ds_panels_layout_change_submit in modules/
ds_extras/ ds_extras.panels.inc - Submit callback: update the layout.
- ds_panels_layout_clone in modules/
ds_extras/ ds_extras.panels.inc - Submit callback: clone an existing layout.
- ds_panels_layout_save in modules/
ds_extras/ ds_extras.panels.inc - Submit callback: Save a layout.
File
- ./
ds.api.php, line 369 - Hooks provided by Display Suite module.
Code
function hook_ds_layout_settings_alter($record, $form_state) {
$record->settings['hide_page_title'] = TRUE;
}