PHP code example of konradmichalik / typo3-pagetree-facets
1. Go to this page and download the library: Download konradmichalik/typo3-pagetree-facets library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
konradmichalik / typo3-pagetree-facets example snippets
[
'fields' => [
[
'type' => 'checkbox-group', // | 'select' | 'radio-presets' | 'text' | 'user-picker'
'name' => 'is', // maps into serialize()/hydrate() state
'label' => 'Page state',
'options' => [ // for choice types
['value' => 'hidden', 'label' => 'Hidden', 'icon' => 'actions-eye-disabled', 'description' => null],
],
],
],
]