function panels_flexible_default_panels in Panels 5.2
Same name and namespace in other branches
- 6.2 layouts/flexible/flexible.inc \panels_flexible_default_panels()
3 calls to panels_flexible_default_panels()
- panels_flexible_panels in layouts/
flexible.inc - Define the actual list of columns and rows for this flexible panel.
- panels_flexible_settings_form in layouts/
flexible.inc - theme_panels_flexible in layouts/
flexible.inc
File
- layouts/
flexible.inc, line 21
Code
function panels_flexible_default_panels() {
return array(
'percent_width' => 100,
'rows' => 3,
'width_type' => '%',
'row_1' => array(
'columns' => 1,
'width_1' => 100,
'names' => array(
t('Top'),
),
),
'row_2' => array(
'columns' => 3,
'width_1' => 25,
'width_2' => 50,
'width_3' => 25,
'names' => array(
t('Left'),
t('Middle'),
t('Right'),
),
),
// row 3
'row_3' => array(
'columns' => 1,
'width_1' => 100,
'names' => array(
t('Bottom'),
),
),
'sidebars' => array(
'left' => FALSE,
'left_width' => 200,
'right' => FALSE,
'right_width' => 200,
'width_type' => 'px',
),
);
}