Close #3484495 Make favicon library tied to favicon option.
Closes #3484495
Merge request reports
Activity
169 170 '#heading' => $this->t('Environments menu'), 170 171 ], 171 172 '#attached' => [ 172 'library' => ['environment_indicator/drupal.environment_indicator'], 173 'library' => [ 174 'environment_indicator/drupal.environment_indicator', 175 ], changed this line in version 2 of the diff
added 1 commit
- b689a36b - Remove favicon settings from render array so we can add it back based on the setting.
100 100 ], 101 101 ], 102 102 ]; 103 103 $favicon = \Drupal::config('environment_indicator.settings')->get('favicon') ?? FALSE; 104 if ($favicon) { 105 $page_top['indicator']['#attached']['library'][] = 'environment_indicator/favicon'; 106 $page_top['indicator']['#attached']['drupalSettings']['environmentIndicator']['favicon'] = $favicon; changed this line in version 7 of the diff
added 5 commits
-
4b624459...520137b4 - 4 commits from branch
project:4.x
- d5aa3cb2 - Merge branch environment_indicator:4.x into 3484495-separate-tinycon-into
-
4b624459...520137b4 - 4 commits from branch
added 3 commits
-
d5aa3cb2...758481f2 - 2 commits from branch
project:4.x
- d950c400 - Merge branch environment_indicator:4.x into 3484495-separate-tinycon-into
-
d5aa3cb2...758481f2 - 2 commits from branch
added 6 commits
-
d950c400...67f00609 - 4 commits from branch
project:4.x
- 565575a1 - Merge upstream changes.
- cd363aba - Merge branch '3484495-separate-tinycon-into' of...
-
d950c400...67f00609 - 4 commits from branch
2 2 js: 3 3 js/environment_indicator.js: {} 4 4 js/color.js: {} 5 js/tinycon.min.js: { minified: true } 6 5 css: 7 6 component: 8 7 css/environment_indicator.css: {} 9 8 dependencies: 10 9 - core/drupal 11 10 - core/jquery 11 tinycon: 12 version: 0.6.3 changed this line in version 12 of the diff
added 2 commits
added 4 commits
-
52116c2d...b8bab43e - 3 commits from branch
project:4.x
- cd7d66a5 - Merge branch environment_indicator:4.x into 3484495-separate-tinycon-into
-
52116c2d...b8bab43e - 3 commits from branch
added 2 commits
Please register or sign in to reply