|
@@ 88-90 (lines=3) @@
|
| 85 |
|
$locationCreateStruct->sortField = $this->getSortField($this->referenceResolver->resolveReference($step->dsl['sort_field'])); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
if (isset($step->dsl['remote_id'])) { |
| 89 |
|
$locationCreateStruct->remoteId = $this->referenceResolver->resolveReference($step->dsl['remote_id']); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
$location = $locationService->createLocation($contentInfo, $locationCreateStruct); |
| 93 |
|
|
|
@@ 165-167 (lines=3) @@
|
| 162 |
|
$locationUpdateStruct->sortOrder = $this->getSortOrder($this->referenceResolver->resolveReference($step->dsl['sort_order']), $location->sortOrder); |
| 163 |
|
} |
| 164 |
|
|
| 165 |
|
if (isset($step->dsl['remote_id'])) { |
| 166 |
|
$locationUpdateStruct->remoteId = $this->referenceResolver->resolveReference($step->dsl['remote_id']); |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
$location = $locationService->updateLocation($location, $locationUpdateStruct); |
| 170 |
|
} |