Options:
Example for option 2:
Example for option 3:
In config.php:
return [
'session_types', => [
'option1' => 'Some title 1',
'option2' => 'Some title 2',
'option3' => 'Some title 3'
]
];
In template:
<?= option('session_types')['option1'] ?>
Where you would replace option1
with $page->type()->value()
.