mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 21:16: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 = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||||
$loader->load('services.yaml');
|
$loader->load('services.yaml');
|
||||||
$loader->load('services/doctrine.yaml');
|
$loader->load('services/doctrine.yaml');
|
||||||
|
@ -25,7 +25,7 @@ class WorkflowSignatureMetadataType extends AbstractType
|
|||||||
|
|
||||||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
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 = [];
|
$choices = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user