Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
Examples
A happy little tree!
[
'columns' => [
'select_tree_1' => [
'exclude' => 1,
'label' => 'select_tree_1 pages, showHeader=true, expandAll=true, size=20, order by sorting, static items, description',
'description' => 'field description',
'config' => [
'type' => 'select',
'renderType' => 'selectTree',
'foreign_table' => 'pages',
'foreign_table_where' => 'ORDER BY pages.sorting',
'size' => 20,
'items' => [
[
'static from tca 4711',
4711,
],
[
'static from tca 4712',
4712,
],
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'treeConfig' => [
'parentField' => 'pid',
'appearance' => [
'expandAll' => true,
'showHeader' => true,
],
],
],
],
],
]
Copied!