function ds_example_layout in Display Suite 8.3
Same name and namespace in other branches
- 8.2 drush/example_layout/example_layout.inc \ds_example_layout()
- 7.2 drush/example_layout/example_layout.inc \ds_example_layout()
- 7 example_layout/example_layout.inc \ds_example_layout()
Defines a Display Suite layout.
File
- drush/
example_layout/ example_layout.inc, line 11 - Display Suite example layout configuration.
Code
function ds_example_layout() {
return [
'label' => t('Example layout'),
'regions' => [
'left' => t('Left'),
'right' => t('Right'),
],
];
}