@@ 160-168 (lines=9) @@ | ||
157 | ||
158 | $content = $this->repository->getContentService()->loadContent($newLocation->contentId); |
|
159 | $urlAliasNames = $this->nameSchemaService->resolveUrlAliasSchema($content); |
|
160 | foreach ($urlAliasNames as $languageCode => $name) { |
|
161 | $this->persistenceHandler->urlAliasHandler()->publishUrlAliasForLocation( |
|
162 | $newLocation->id, |
|
163 | $loadedTargetLocation->id, |
|
164 | $name, |
|
165 | $languageCode, |
|
166 | $content->contentInfo->alwaysAvailable |
|
167 | ); |
|
168 | } |
|
169 | ||
170 | $this->persistenceHandler->urlAliasHandler()->locationCopied( |
|
171 | $loadedSubtree->id, |
|
@@ 718-726 (lines=9) @@ | ||
715 | ||
716 | $content = $this->repository->getContentService()->loadContent($location->contentId); |
|
717 | $urlAliasNames = $this->nameSchemaService->resolveUrlAliasSchema($content); |
|
718 | foreach ($urlAliasNames as $languageCode => $name) { |
|
719 | $this->persistenceHandler->urlAliasHandler()->publishUrlAliasForLocation( |
|
720 | $location->id, |
|
721 | $newParentLocation->id, |
|
722 | $name, |
|
723 | $languageCode, |
|
724 | $content->contentInfo->alwaysAvailable |
|
725 | ); |
|
726 | } |
|
727 | ||
728 | $this->persistenceHandler->urlAliasHandler()->locationMoved( |
|
729 | $location->id, |