Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jun 2013 at 23:22 UTC
Updated:
29 Jul 2014 at 22:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eli-tComment #2
damiankloip commentedNice, i agree that we should mark this @deprecated and then deal with #1957142: Replace config() with Drupal::config(). Although I still don't see the point in making lots of issues out of that but hey, not a problem here :)
add parenthesis to config(), and we should use 'method' and not 'function'
Comment #3
eli-tChanges suggested in #2 implemented.
Comment #4
damiankloip commentedThank you. Looks good to me.
Comment #6
eli-t#3: config_deprecate_config-2028149-3.patch queued for re-testing.
Comment #7
eli-tReturning to rtbc following successful retest with no code changes.
Comment #8
alexpottNeed to add the version info see https://drupal.org/coding-standards/docs#deprecated
Comment #9
eli-tAdded Drupal 8.0 as version at which the function was deprecated and added @see block to the replacement.
Comment #10
damiankloip commentedLookin' good
Comment #11
dries commentedCommitted to 8.x. Thanks.