PHP code example of lukaschel / pimcore-bundle-configuration

1. Go to this page and download the library: Download lukaschel/pimcore-bundle-configuration 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/ */

    

lukaschel / pimcore-bundle-configuration example snippets


public function getAdminIframePath()
{
    return '/admin/pimcoreconfiguration/bundle'.str_replace(__NAMESPACE__, '', __CLASS__);
}

$service = $this->container->get('lukaschel.bundleconfiguration');
$service->getConfig($key);

$service->getConfig($key, $siteRootId, $language, $bundleName);
twig
{{ bundleconfiguration('key') }}