You are here

function hook_ds_layout_info_alter in Display Suite 7.2

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

Alter layouts found by Display Suite.

Parameters

$layouts: A array of layouts which keys are the layout and which values are properties of that layout (label, path, regions and css).

2 functions implement hook_ds_layout_info_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_info_alter in modules/ds_extras/ds_extras.module
Implements hook_ds_layout_info_alter().
ds_test_ds_layout_info_alter in tests/ds_test.module
Implements hook_ds_layout_info_alter().
1 invocation of hook_ds_layout_info_alter()
ds_get_layout_info in ./ds.module
Get Display Suite layouts.

File

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

Code

function hook_ds_layout_info_alter(&$layouts) {
  unset($layouts['ds_2col']);
}