PHP code example of heimrichhannot / contao-field_value_copier
1. Go to this page and download the library: Download heimrichhannot/contao-field_value_copier 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/ */
heimrichhannot / contao-field_value_copier example snippets
'someField' => array(
// no label necessary
'inputType' => 'fieldValueCopier',
'eval' => array(
'fieldValueCopier' => array(
'table' => 'tl_my_dca',
'field' => 'myField',
'options_callback' => array('Namespace\SomeClass', 'getOptions')
)
)
)