$pageBlueprint->section()
Returns a single section by name
$pageBlueprint->section(string $name): Kirby\Cms\Section|null
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
Return types
Kirby\Cms\Sectionornull
This method modifies the existing $pageblueprint object it is applied to and returns it again.
Parent class
Kirby\Cms\PageBlueprint
inherited from Kirby\Cms\Blueprint