Core/Executor/ContentManager.php 1 location
|
@@ 627-634 (lines=8) @@
|
| 624 |
|
} |
| 625 |
|
} |
| 626 |
|
|
| 627 |
|
protected function setSection(Content $content, $sectionKey) |
| 628 |
|
{ |
| 629 |
|
$sectionKey = $this->referenceResolver->resolveReference($sectionKey); |
| 630 |
|
$section = $this->sectionMatcher->matchOneByKey($sectionKey); |
| 631 |
|
|
| 632 |
|
$sectionService = $this->repository->getSectionService(); |
| 633 |
|
$sectionService->assignSection($content->contentInfo, $section); |
| 634 |
|
} |
| 635 |
|
|
| 636 |
|
protected function setObjectStates(Content $content, array $stateKeys) |
| 637 |
|
{ |
Core/Executor/UserGroupManager.php 1 location
|
@@ 236-243 (lines=8) @@
|
| 233 |
|
return $refs; |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
protected function setSection(Content $content, $sectionKey) |
| 237 |
|
{ |
| 238 |
|
$sectionKey = $this->referenceResolver->resolveReference($sectionKey); |
| 239 |
|
$section = $this->sectionMatcher->matchOneByKey($sectionKey); |
| 240 |
|
|
| 241 |
|
$sectionService = $this->repository->getSectionService(); |
| 242 |
|
$sectionService->assignSection($content->contentInfo, $section); |
| 243 |
|
} |
| 244 |
|
} |
| 245 |
|
|