-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdandelion_features.default_picture_mapping.inc
74 lines (71 loc) · 1.96 KB
/
dandelion_features.default_picture_mapping.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/**
* @file
* dandelion_features.default_picture_mapping.inc
*/
/**
* Implements hook_default_picture_mapping().
*/
function dandelion_features_default_picture_mapping() {
$export = array();
$picture_mapping = new PictureMapping();
$picture_mapping->disabled = FALSE; /* Edit this to true to make a default picture_mapping disabled initially */
$picture_mapping->api_version = 2;
$picture_mapping->label = 'dandelion_page_body';
$picture_mapping->machine_name = 'dandelion_page_body';
$picture_mapping->breakpoint_group = 'phoebe';
$picture_mapping->mapping = array(
'breakpoints.theme.phoebe.xxlarge' => array(
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_1200',
),
'2x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_2400',
),
),
'breakpoints.theme.phoebe.xlarge' => array(
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_1000',
),
'2x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_2000',
),
),
'breakpoints.theme.phoebe.large' => array(
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_800',
),
'2x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_1600',
),
),
'breakpoints.theme.phoebe.medium' => array(
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_800',
),
'2x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_1600',
),
),
'breakpoints.theme.phoebe.small' => array(
'1x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_400',
),
'2x' => array(
'mapping_type' => 'image_style',
'image_style' => 's_800',
),
),
);
$export['dandelion_page_body'] = $picture_mapping;
return $export;
}