One can call this method from a bundle build() method.
php
public function build(ContainerBuilder $container)
{
$ezExtension = $container->getExtension('ezpublish');
$ezExtension->addDefaultSettings(
__DIR__ . '/Resources/config',
['default_settings.yml']
);
}
public addDefaultSettings ( string $fileLocation, array $files ) | ||
$fileLocation | string | |
$files | array |