Commit 4cdff737 authored by Dries's avatar Dries

Issue #2028149 by Eli-T: The config() function should be deprecated in favour of Drupal::config().

parent 26eb6d73
......@@ -72,6 +72,9 @@ function config_get_storage_names_with_prefix($prefix = '') {
* @code config('book.admin') @endcode will return a configuration object in
* which the book module can store its administrative settings.
* @deprecated This function has been replaced by the \Drupal::config() method.
* Use that instead.
* @param string $name
* The name of the configuration object to retrieve. The name corresponds to
* a configuration file. For @code config('book.admin') @endcode, the config
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