Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
303
Merge Requests
303
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
5b167ad1
Commit
5b167ad1
authored
Oct 10, 2012
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1808632
by kiamlaluno: Fix example in docs for config() function
parent
c32e5174
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
core/includes/config.inc
core/includes/config.inc
+3
-3
No files found.
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