Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5b167ad1
Commit
5b167ad1
authored
Oct 10, 2012
by
Jennifer Hodgdon
Browse files
Issue
#1808632
by kiamlaluno: Fix example in docs for config() function
parent
c32e5174
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/config.inc
View file @
5b167ad1
...
...
@@ -52,12 +52,12 @@ function config_get_storage_names_with_prefix($prefix = '') {
* Retrieves a configuration object.
*
* This is the main entry point to the configuration API. Calling
* @code config(book.admin) @endcode will return a configuration object in
which
* the book module can store its administrative settings.
* @code config(
'
book.admin
'
) @endcode will return a configuration object in
*
which
the book module can store its administrative settings.
*
* @param $name
* The name of the configuration object to retrieve. The name corresponds to
* a configuration file. For @code config(book.admin) @endcode, the config
* a configuration file. For @code config(
'
book.admin
'
) @endcode, the config
* object returned will contain the contents of book.admin configuration file.
*
* @return Drupal\Core\Config\Config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment