Skip to content
Snippets Groups Projects

Return early if there's no CSS to load.

Open catch requested to merge issue/drupal-3414398:3414398-empty-assets-only into 11.x
1 unresolved thread

Closes #3414398

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
122 122 * {@inheritdoc}
123 123 */
124 124 public function getCssAssets(AttachedAssetsInterface $assets, $optimize, LanguageInterface $language = NULL) {
125 if (!$assets->getLibraries()) {
126 return [];
127 }
128 $libraries_to_load = $this->getLibrariesToLoad($assets);
  • catch added 1 commit

    added 1 commit

    • 2f81c336 - Move ::getLibrariesToLoad() calls back where they were.

    Compare with previous version

  • Please register or sign in to reply
    Loading