Unverified Commit b4b197ff authored by alexpott's avatar alexpott
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
......@@ -349,12 +349,14 @@ public static function lock() {
*
* This is the main entry point to the configuration API. Calling
* @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
* The name of the configuration object to retrieve. The name corresponds to
* a configuration file. For @code \Drupal::config('book.admin') @endcode, the config
* object returned will contain the contents of book.admin configuration file.
* The name of the configuration object to retrieve, which typically
* corresponds to a configuration file. For
* @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
* An immutable configuration object.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment