Skip to content

Commit 147b6dc

Browse files
authored
Added XML support for Workflow configuration
1 parent b376d92 commit 147b6dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,17 +231,22 @@ 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')
244248
->isRequired()
249+
->fixXmlConfig('argument')
245250
->children()
246251
->enumNode('type')
247252
->values(array('property_accessor', 'scalar'))

0 commit comments

Comments
 (0)