Core/Executor/ContentManager.php 1 location
|
@@ 622-629 (lines=8) @@
|
| 619 |
|
} |
| 620 |
|
} |
| 621 |
|
|
| 622 |
|
protected function setSection(Content $content, $sectionKey) |
| 623 |
|
{ |
| 624 |
|
$sectionKey = $this->referenceResolver->resolveReference($sectionKey); |
| 625 |
|
$section = $this->sectionMatcher->matchOneByKey($sectionKey); |
| 626 |
|
|
| 627 |
|
$sectionService = $this->repository->getSectionService(); |
| 628 |
|
$sectionService->assignSection($content->contentInfo, $section); |
| 629 |
|
} |
| 630 |
|
|
| 631 |
|
protected function setObjectStates(Content $content, array $stateKeys) |
| 632 |
|
{ |
Core/Executor/UserGroupManager.php 1 location
|
@@ 227-234 (lines=8) @@
|
| 224 |
|
return true; |
| 225 |
|
} |
| 226 |
|
|
| 227 |
|
protected function setSection(Content $content, $sectionKey) |
| 228 |
|
{ |
| 229 |
|
$sectionKey = $this->referenceResolver->resolveReference($sectionKey); |
| 230 |
|
$section = $this->sectionMatcher->matchOneByKey($sectionKey); |
| 231 |
|
|
| 232 |
|
$sectionService = $this->repository->getSectionService(); |
| 233 |
|
$sectionService->assignSection($content->contentInfo, $section); |
| 234 |
|
} |
| 235 |
|
} |
| 236 |
|
|