We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53e613 commit d7b1dd4Copy full SHA for d7b1dd4
app/code/Magento/Catalog/Plugin/Block/Topmenu.php
@@ -196,22 +196,4 @@ protected function getCategoryTree($storeId, $rootId)
196
197
return $collection;
198
}
199
-
200
- /**
201
- * Add active
202
- *
203
- * @param \Magento\Theme\Block\Html\Topmenu $subject
204
- * @param string[] $result
205
- * @return string[]
206
- * @SuppressWarnings(PHPMD.UnusedFormalParameter)
207
- */
208
- public function afterGetCacheKeyInfo(\Magento\Theme\Block\Html\Topmenu $subject, array $result)
209
- {
210
- $activeCategory = $this->getCurrentCategory();
211
- if ($activeCategory) {
212
- $result[] = Category::CACHE_TAG . '_' . $activeCategory->getId();
213
- }
214
215
- return $result;
216
217
0 commit comments