Commit 71e38057 authored by alexpott's avatar alexpott

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

(cherry picked from commit ba62e4a9ca1a8b76416bb4afc72f0bd73a76de4b)
parent f61a2d58
......@@ -366,12 +366,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