File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
app/code/Magento/CatalogUrlRewrite/Observer Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 14
14
use Magento \Framework \Event \ObserverInterface ;
15
15
use Magento \Store \Model \Store ;
16
16
17
+ /**
18
+ * Class for set or update url path.
19
+ */
17
20
class CategoryUrlPathAutogeneratorObserver implements ObserverInterface
18
21
{
19
22
/**
@@ -55,6 +58,8 @@ public function __construct(
55
58
}
56
59
57
60
/**
61
+ * Method for update/set url path.
62
+ *
58
63
* @param \Magento\Framework\Event\Observer $observer
59
64
* @return void
60
65
* @throws \Magento\Framework\Exception\LocalizedException
@@ -81,6 +86,8 @@ public function execute(\Magento\Framework\Event\Observer $observer)
81
86
}
82
87
83
88
/**
89
+ * Update url path for children category.
90
+ *
84
91
* @param Category $category
85
92
* @return void
86
93
*/
@@ -121,6 +128,8 @@ protected function isGlobalScope($storeId)
121
128
}
122
129
123
130
/**
131
+ * Update url path for category.
132
+ *
124
133
* @param Category $category
125
134
* @return void
126
135
*/
You can’t perform that action at this time.
0 commit comments