Core/Executor/ContentManager.php 1 location
|
@@ 92-96 (lines=5) @@
|
| 89 |
|
$contentCreateStruct->remoteId = $step->dsl['remote_id']; |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
if (isset($step->dsl['section'])) { |
| 93 |
|
$sectionKey = $this->referenceResolver->resolveReference($step->dsl['section']); |
| 94 |
|
$section = $this->sectionMatcher->matchOneByKey($sectionKey); |
| 95 |
|
$contentCreateStruct->sectionId = $section->id; |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
if (isset($step->dsl['owner'])) { |
| 99 |
|
$owner = $this->getUser($step->dsl['owner']); |
Core/Executor/UserGroupManager.php 1 location
|
@@ 55-59 (lines=5) @@
|
| 52 |
|
$userGroupCreateStruct->setField('description', $step->dsl['description']); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
if (isset($step->dsl['section'])) { |
| 56 |
|
$sectionKey = $this->referenceResolver->resolveReference($step->dsl['section']); |
| 57 |
|
$section = $this->sectionMatcher->matchOneByKey($sectionKey); |
| 58 |
|
$userGroupCreateStruct->sectionId = $section->id; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
$userGroup = $userService->createUserGroup($userGroupCreateStruct, $parentGroup); |
| 62 |
|
|