function () {
$records = $this->recordCollector->collect(
'tt_content',
[
'where' => '{#colPos}=' . $colPos,
'orderBy' => 'sorting',
],
$slideMode,
GeneralUtility::makeInstance(ContentObjectRenderer::class)
);
return new ContentArea(
identifier: $identifier,
name: $name,
colPos: $colPos,
slideMode: $slideMode,
allowedContentTypes: $allowedContentTypes,
disallowedContentTypes: $disallowedContentTypes,
configuration: $structure,
records: $records
);
}