File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
/**
8
- * Implements hook_update_N() .
8
+ * Update config .
9
9
*/
10
10
function font_awesome_update_1100(&$sandbox) {
11
- // Update config.
12
11
$config = config('font_awesome.settings');
13
12
if ($config->get('enabled') == TRUE) {
14
13
$config->set('fontawesome', 'v4');
@@ -21,10 +20,9 @@ function font_awesome_update_1100(&$sandbox) {
21
20
}
22
21
23
22
/**
24
- * Implements hook_update_N() .
23
+ * Update variable name .
25
24
*/
26
25
function font_awesome_update_1001(&$sandbox) {
27
- // Update variable name.
28
26
$config = config('font_awesome.settings');
29
27
$config->set('enabled', $config->get('font_awesome_1'));
30
28
$config->clear('font_awesome_1');
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function font_awesome_init() {
42
42
backdrop_add_css('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', $options);
43
43
break;
44
44
case 'v5':
45
- backdrop_add_js('https://use.fontawesome.com/releases/v5.0.2 /js/all.js', $options);
45
+ backdrop_add_js('https://use.fontawesome.com/releases/v5.0.4 /js/all.js', $options);
46
46
break;
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments