1 layout.module | layout_flexible_row_styles() |
Provides the default row styles.
File
- core/
modules/ layout/ layout.module, line 2516 - The Layout module creates pages and wraps existing pages in layouts.
Code
function layout_flexible_row_styles() {
$styles = array(
'region_12' => array(
'split' => '100:0',
'bootstrap' => '12:0',
'region_count' => 1,
'name' => t('One full-width region'),
),
'region_10_2' => array(
'split' => '83:17',
'bootstrap' => '10:2',
'region_count' => 2,
'name' => t('Two regions') . (' 83% : 17%'),
),
'region_9_3' => array(
'split' => '75:25',
'bootstrap' => '9:3',
'region_count' => 2,
'name' => t('Two regions') . (' 75% : 25%'),
),
'region_8_4' => array(
'split' => '67:33',
'bootstrap' => '8:4',
'region_count' => 2,
'name' => t('Two regions') . (' 67% : 33%'),
),
'region_6_6' => array(
'split' => '50:50',
'bootstrap' => '6:6',
'region_count' => 2,
'name' => t('Two regions') . (' 50% : 50%'),
),
'region_4_8' => array(
'split' => '33:67',
'bootstrap' => '4:8',
'region_count' => 2,
'name' => t('Two regions') . (' 33% : 67%'),
),
'region_3_9' => array(
'split' => '25:75',
'bootstrap' => '3:9',
'region_count' => 2,
'name' => t('Two regions') . (' 25% : 75%'),
),
'region_2_10' => array(
'split' => '17:83',
'bootstrap' => '2:10',
'region_count' => 2,
'name' => t('Two regions') . (' 17% : 83%'),
),
'region_4_4_4' => array(
'split' => '33:33:33',
'bootstrap' => '4:4:4',
'region_count' => 3,
'name' => t('Three regions') . (' 33% : 33% : 33%'),
),
'region_2_8_2' => array(
'split' => '17:67:17',
'bootstrap' => '2:8:2',
'region_count' => 3,
'name' => t('Three regions') . (' 17% : 67% : 17%'),
),
'region_2_2_8' => array(
'split' => '17:17:67',
'bootstrap' => '2:2:8',
'region_count' => 3,
'name' => t('Three regions') . (' 17% : 17% : 67%'),
),
'region_8_2_2' => array(
'split' => '67:17:17',
'bootstrap' => '8:2:2',
'region_count' => 3,
'name' => t('Three regions') . (' 67% : 17% : 17%'),
),
'region_3_6_3' => array(
'split' => '25:50:25',
'bootstrap' => '3:6:3',
'region_count' => 3,
'name' => t('Three regions') . (' 25% : 50% : 25%'),
),
'region_3_3_6' => array(
'split' => '25:25:50',
'bootstrap' => '3:3:6',
'region_count' => 3,
'name' => t('Three regions') . (' 25% : 25% : 50%'),
),
'region_6_3_3' => array(
'split' => '50:25:25',
'bootstrap' => '6:3:3',
'region_count' => 3,
'name' => t('Three regions') . (' 50% : 25% : 25%'),
),
'region_4_2_6' => array(
'split' => '33:17:50',
'bootstrap' => '4:2:6',
'region_count' => 3,
'name' => t('Three regions') . (' 33% : 17% : 50%'),
),
'region_4_6_2' => array(
'split' => '33:50:17',
'bootstrap' => '4:6:2',
'region_count' => 3,
'name' => t('Three regions') . (' 33% : 50% : 17%'),
),
'region_2_6_4' => array(
'split' => '17:50:33',
'bootstrap' => '2:6:4',
'region_count' => 3,
'name' => t('Three regions') . (' 17% : 50% : 33%'),
),
'region_2_4_6' => array(
'split' => '17:33:50',
'bootstrap' => '2:4:6',
'region_count' => 3,
'name' => t('Three regions') . (' 17% : 33% : 50%'),
),
'region_6_2_4' => array(
'split' => '50:17:33',
'bootstrap' => '6:2:4',
'region_count' => 3,
'name' => t('Three regions') . (' 50% : 17% : 33%'),
),
'region_6_4_2' => array(
'split' => '50:33:17',
'bootstrap' => '6:4:2',
'region_count' => 3,
'name' => t('Three regions') . (' 50% : 33% : 17%'),
),
'region_3_3_3_3' => array(
'split' => '25:25:25:25',
'bootstrap' => '3:3:3:3',
'region_count' => 4,
'name' => t('Four regions') . (' 25% : 25% : 25% : 25%'),
),
'region_3_3_4_2' => array(
'split' => '25:25:33:17',
'bootstrap' => '3:3:4:2',
'region_count' => 4,
'name' => t('Four regions') . (' 25% : 25% : 33% : 17%'),
),
'region_3_3_2_4' => array(
'split' => '25:25:17:33',
'bootstrap' => '3:3:2:4',
'region_count' => 4,
'name' => t('Four regions') . (' 25% : 25% : 17% : 33%'),
),
'region_4_3_3_2' => array(
'split' => '33:25:25:17',
'bootstrap' => '4:3:3:2',
'region_count' => 4,
'name' => t('Four regions') . (' 33% : 25% : 25% : 17%'),
),
'region_2_3_3_4' => array(
'split' => '17:25:25:33',
'bootstrap' => '2:3:3:4',
'region_count' => 4,
'name' => t('Four regions') . (' 17% : 25% : 25% : 33%'),
),
'region_2_4_3_3' => array(
'split' => '17:33:25:25',
'bootstrap' => '2:4:3:3',
'region_count' => 4,
'name' => t('Four regions') . (' 17% : 33% : 25% : 25%'),
),
'region_4_2_3_3' => array(
'split' => '33:17:25:25',
'bootstrap' => '4:2:3:3',
'region_count' => 4,
'name' => t('Four regions') . (' 33% : 17% : 25% : 25%'),
),
'region_2_4_4_2' => array(
'split' => '17:33:33:17',
'bootstrap' => '2:4:4:2',
'region_count' => 4,
'name' => t('Four regions') . (' 17% : 33% : 33% : 17%'),
),
'region_2_4_2_4' => array(
'split' => '17:33:17:33',
'bootstrap' => '2:4:2:4',
'region_count' => 4,
'name' => t('Four regions') . (' 17% : 33% : 17% : 33%'),
),
'region_4_2_2_4' => array(
'split' => '33:17:17:33',
'bootstrap' => '4:2:2:4',
'region_count' => 4,
'name' => t('Four regions') . (' 33% : 17% : 17% : 33%'),
),
'region_4_2_4_2' => array(
'split' => '33:17:33:17',
'bootstrap' => '4:2:4:2',
'region_count' => 4,
'name' => t('Four regions') . (' 33% : 17% : 33% : 17%'),
),
);
return $styles;
}