Skip to content
Snippets Groups Projects

Close #3484495 Make favicon library tied to favicon option.

Closes #3484495

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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 ],
  • Chris Green added 1 commit

    added 1 commit

    • 2cc16aa7 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    • b689a36b - Remove favicon settings from render array so we can add it back based on the setting.

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green resolved all threads

    resolved all threads

  • 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;
  • Chris Green added 1 commit

    added 1 commit

    • 4b624459 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Chris Green added 5 commits

    added 5 commits

    • 4b624459...520137b4 - 4 commits from branch project:4.x
    • d5aa3cb2 - Merge branch environment_indicator:4.x into 3484495-separate-tinycon-into

    Compare with previous version

  • Chris Green added 3 commits

    added 3 commits

    • d5aa3cb2...758481f2 - 2 commits from branch project:4.x
    • d950c400 - Merge branch environment_indicator:4.x into 3484495-separate-tinycon-into

    Compare with previous version

  • Chris Green added 6 commits

    added 6 commits

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green resolved all threads

    resolved all threads

  • 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
  • Chris Green added 1 commit

    added 1 commit

    • c225501d - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green added 2 commits

    added 2 commits

    • 91751365 - 1 commit from branch project:4.x
    • 49cb308d - Merge upstream changes.

    Compare with previous version

  • Chris Green added 2 commits

    added 2 commits

    • 5c6abc45 - 1 commit from branch project:4.x
    • 52116c2d - Merge branch environment_indicator:4.x into 3484495-separate-tinycon-into

    Compare with previous version

  • Chris Green added 4 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

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green added 2 commits

    added 2 commits

    • dbf73065 - 1 commit from branch project:4.x
    • 5038f997 - Merge upstream changes.

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading