Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
addTwigFormatOptions example
unset
(
$v
[
'exception_controller'
]
)
;
return
$v
;
}
)
->
end
(
)
;
$this
->
addFormThemesSection
(
$rootNode
)
;
$this
->
addGlobalsSection
(
$rootNode
)
;
$this
->
addTwigOptions
(
$rootNode
)
;
$this
->
addTwigFormatOptions
(
$rootNode
)
;
$this
->
addMailerSection
(
$rootNode
)
;
return
$treeBuilder
;
}
private
function
addFormThemesSection
(
ArrayNodeDefinition
$rootNode
)
: void
{
$rootNode
->
fixXmlConfig
(
'form_theme'
)
->
children
(
)
->
arrayNode
(
'form_themes'
)