Skip to content

Commit de5667d

Browse files
wouterjxabbuh
authored andcommitted
Added XML support for Workflow configuration
1 parent 5b2e386 commit de5667d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

DependencyInjection/Configuration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,16 +231,21 @@ private function addProfilerSection(ArrayNodeDefinition $rootNode)
231231
private function addWorkflowSection(ArrayNodeDefinition $rootNode)
232232
{
233233
$rootNode
234+
->fixXmlConfig('workflow')
234235
->children()
235236
->arrayNode('workflows')
236237
->useAttributeAsKey('name')
237238
->prototype('array')
239+
->fixXmlConfig('support')
240+
->fixXmlConfig('place')
241+
->fixXmlConfig('transition')
238242
->children()
239243
->enumNode('type')
240244
->values(array('workflow', 'state_machine'))
241245
->defaultValue('workflow')
242246
->end()
243247
->arrayNode('marking_store')
248+
->fixXmlConfig('argument')
244249
->children()
245250
->enumNode('type')
246251
->values(array('multiple_state', 'single_state'))

0 commit comments

Comments
 (0)