mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
Fix the config's path to workflow signature
- typo - load the config's array instead of the path to the config
This commit is contained in:
parent
d75607a1d2
commit
44226d6f7f
@ -193,11 +193,6 @@ class ChillMainExtension extends Extension implements
|
||||
[]
|
||||
);
|
||||
|
||||
/* $container->setParameter(
|
||||
'chill_main.workflow_signatures.base_signer.document_kinds',
|
||||
$config['workflow_signature']['base_signer']['document_kinds']
|
||||
);*/
|
||||
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||
$loader->load('services.yaml');
|
||||
$loader->load('services/doctrine.yaml');
|
||||
|
@ -25,7 +25,7 @@ class WorkflowSignatureMetadataType extends AbstractType
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
||||
{
|
||||
$documentTypeChoices = $this->parameterBag->get('chill_main.workflow_signatures.base_signer.document_kinds');
|
||||
$documentTypeChoices = $this->parameterBag->get('chill_main')['workflow_signature']['base_signer']['document_kinds'];
|
||||
|
||||
$choices = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user