PHP Class eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\Configuration

This is very helpful if you need to define specific configuration blocks which need to be repeated by scope/contexts. Example of scope (aka SiteAccesses) usage, "system" being the node under which scope based configuration take place. Key is the context name. ezpublish: system: eng: languages: - eng-GB fre: languages: - fre-FR - eng-GB
Inheritance: implements Symfony\Component\Config\Definition\ConfigurationInterface
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
generateScopeBaseNode ( ArrayNodeDefinition $rootNode, string $scopeNodeName = 'system' ) : Symfony\Component\Config\Definition\Builder\NodeBuilder Generates the context node under which context based configuration will be defined.

Method Details

generateScopeBaseNode() public method

Generates the context node under which context based configuration will be defined.
public generateScopeBaseNode ( ArrayNodeDefinition $rootNode, string $scopeNodeName = 'system' ) : Symfony\Component\Config\Definition\Builder\NodeBuilder
$rootNode Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition Node under which the generated node will be placed.
$scopeNodeName string
return Symfony\Component\Config\Definition\Builder\NodeBuilder