Skip to content

Commit 5f3b695

Browse files
author
Sergey Semenov
committed
MAGETWO-58796: Add request parameter to CMS event observer
1 parent 1222721 commit 5f3b695

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Theme/Block/Html/Topmenu.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class Topmenu extends Template implements IdentityInterface
3333
/**
3434
* Core registry
3535
*
36-
* Deprecated since not used in this class.
37-
*
3836
* @var Registry
3937
*
4038
* @deprecated
@@ -379,6 +377,9 @@ protected function getCacheTags()
379377
/**
380378
* Get menu object.
381379
*
380+
* Creates \Magento\Framework\Data\Tree\Node root node object.
381+
* The creation logic was moved from class constructor into separate method.
382+
*
382383
* @return Node
383384
*/
384385
public function getMenu()

0 commit comments

Comments
 (0)