Return early if there's no CSS to load.
1 unresolved thread
Closes #3414398
Merge request reports
Activity
added 2 commits
added 6 commits
-
f386c6f9...7f4b5f18 - 3 commits from branch
project:11.x
- eaa417f9 - Return early if there's no CSS to load.
- 7744f548 - Return early from ::getJsAssets()
- 52672d51 - Use closer logic in ::getCssAssets().
Toggle commit list-
f386c6f9...7f4b5f18 - 3 commits from branch
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); changed this line in version 10 of the diff
added 1 commit
- 2f81c336 - Move ::getLibrariesToLoad() calls back where they were.
Please register or sign in to reply