-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmotionsplan_exercise_pdf.features.inc
62 lines (58 loc) · 1.76 KB
/
motionsplan_exercise_pdf.features.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
<?php
/**
* @file
* motionsplan_exercise_pdf.features.inc
*/
/**
* Implements hook_image_default_styles().
*/
function motionsplan_exercise_pdf_image_default_styles() {
$styles = array();
// Exported image style: exercise_extended_pdf.
$styles['exercise_extended_pdf'] = array(
'name' => 'exercise_extended_pdf',
'label' => 'exercise_extended_pdf',
'effects' => array(
3 => array(
'label' => 'Skalér',
'help' => 'Skalering bevarer billedets højde-bredde-forhold. Hvis kun den ene dimension angives vil den anden blive beregnet.',
'effect callback' => 'image_scale_effect',
'dimensions callback' => 'image_scale_dimensions',
'form callback' => 'image_scale_form',
'summary theme' => 'image_scale_summary',
'module' => 'image',
'name' => 'image_scale',
'data' => array(
'width' => 250,
'height' => 250,
'upscale' => 0,
),
'weight' => 1,
),
),
);
// Exported image style: exercise_pdf.
$styles['exercise_pdf'] = array(
'name' => 'exercise_pdf',
'label' => 'exercise_pdf',
'effects' => array(
4 => array(
'label' => 'Skalér',
'help' => 'Skalering bevarer billedets højde-bredde-forhold. Hvis kun den ene dimension angives vil den anden blive beregnet.',
'effect callback' => 'image_scale_effect',
'dimensions callback' => 'image_scale_dimensions',
'form callback' => 'image_scale_form',
'summary theme' => 'image_scale_summary',
'module' => 'image',
'name' => 'image_scale',
'data' => array(
'width' => 600,
'height' => 600,
'upscale' => 0,
),
'weight' => 1,
),
),
);
return $styles;
}