Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed NodeDefinition::example method usage #3081

Merged
merged 1 commit into from
Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function addSemanticConfig(NodeBuilder $nodeBuilder)
->children()
->scalarNode('name')
->info('The session name. If you want a session name per siteaccess, use "{siteaccess_hash}" token. Will override default session name from framework.session.name')
->example(['session' => ['name' => 'eZSESSID{siteaccess_hash}']])
->example('eZSESSID{siteaccess_hash}')
->end()
->scalarNode('cookie_lifetime')->end()
->scalarNode('cookie_path')->end()
Expand Down Expand Up @@ -129,11 +129,11 @@ public function addSemanticConfig(NodeBuilder $nodeBuilder)
->children()
->scalarNode('layout')
->info('Layout template to use for user related actions. This is most likely the base pagelayout template of your site.')
->example(['layout' => 'eZDemoBundle::pagelayout.html.twig'])
->example('pagelayout.html.twig')
->end()
->scalarNode('login_template')
->info('Template to use for login form. Defaults to EzPublishCoreBundle:security:login.html.twig')
->example(['login_template' => 'AcmeTestBundle:User:login.html.twig'])
->example('login.html.twig')
->end()
->end()
->end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function addSemanticConfig(NodeBuilder $nodeBuilder)
->children()
->scalarNode('reference')
->info('Tells the system which original variation to use as reference image. Defaults to original')
->example(['reference' => 'large'])
->example('large')
->end()
->arrayNode('filters')
->info('A list of filters to run, each filter must be supported by the active image converters')
Expand Down