Skip to content
Snippets Groups Projects
Unverified Commit b4b197ff authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3080106 by kiamlaluno: Drupal::config() incorrectly implies you can...

Issue #3080106 by kiamlaluno: Drupal::config() incorrectly implies you can edit the config it returns
parent e6fd7b29
No related branches found
No related tags found
No related merge requests found
...@@ -349,12 +349,14 @@ public static function lock() { ...@@ -349,12 +349,14 @@ public static function lock() {
* *
* This is the main entry point to the configuration API. Calling * This is the main entry point to the configuration API. Calling
* @code \Drupal::config('book.admin') @endcode will return a configuration * @code \Drupal::config('book.admin') @endcode will return a configuration
* object in which the book module can store its administrative settings. * object the Book module can use to read its administrative settings.
* *
* @param string $name * @param string $name
* The name of the configuration object to retrieve. The name corresponds to * The name of the configuration object to retrieve, which typically
* a configuration file. For @code \Drupal::config('book.admin') @endcode, the config * corresponds to a configuration file. For
* object returned will contain the contents of book.admin configuration file. * @code \Drupal::config('book.admin') @endcode, the configuration
* object returned will contain the content of the book.admin
* configuration file.
* *
* @return \Drupal\Core\Config\ImmutableConfig * @return \Drupal\Core\Config\ImmutableConfig
* An immutable configuration object. * An immutable configuration object.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment