- /**
- * Generate list of urls per store
- *
- * @param string $storeId
- * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[]
- */
- protected function generateForSpecificStoreView($storeId)
- {
- $urls = array_merge(
- $this->canonicalUrlRewriteGenerator->generate($storeId, $this->category),
- $this->childrenUrlRewriteGenerator->generate($storeId, $this->category),
- $this->currentUrlRewritesRegenerator->generate($storeId, $this->category)
- );
- return $urls;
- }