Examples

A happy little tree!

      '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' => [ 
               '0' => [ 
                  '0' => 'static from tca 4711',
                  '1' => 4711,
               ],
               '1' => [ 
                  '0' => 'static from tca 4712',
                  '1' => 4712,
               ],
            ],
            'behaviour' => [ 
               'allowLanguageSynchronization' => true,
            ],
            'treeConfig' => [ 
               'parentField' => 'pid',
               'appearance' => [ 
                  'expandAll' => true,
                  'showHeader' => true,
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_select"