PHP code example of oveleon / contao-config-driver-bundle
1. Go to this page and download the library: Download oveleon/contao-config-driver-bundle 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/ */
oveleon / contao-config-driver-bundle example snippets
$GLOBALS['TL_DCA']['tl_newdca'] = array
(
'config' => array
(
'dataContainer' => 'Config',
'configFile' => 'dcaConfigFile.html5' // Use the extension html5 to make the configuration extensible in the backend. If the configuration must not be changed, choose the extension PHP.
)
);