File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/code/Magento/Theme/Model/Theme Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function getThemeByFullPath($fullPath)
83
83
return $ this ->getThemeList ()->getThemeByFullPath ($ fullPath );
84
84
}
85
85
86
- $ theme = $ this ->loadThemeFromCache ('theme ' . $ fullPath );
86
+ $ theme = $ this ->loadThemeFromCache ('theme ' . $ fullPath );
87
87
if ($ theme ) {
88
88
$ this ->themes [$ fullPath ] = $ theme ;
89
89
return $ theme ;
@@ -113,6 +113,10 @@ public function getThemeCustomizations(
113
113
}
114
114
115
115
/**
116
+ * Get theme by id
117
+ *
118
+ * Checks local object cache first, application cache second, and will fall back on creating and loading
119
+ * a new Theme object. Loaded Theme is only cached by ID, as virtual themes may have matching base paths.
116
120
* {@inheritdoc}
117
121
*/
118
122
public function getThemeById ($ themeId )
You can’t perform that action at this time.
0 commit comments