Needs work
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2020 at 04:26 UTC
Updated:
13 Aug 2020 at 06:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
kunalgautam commentedComment #4
kunalgautam commentedComment #5
kunalgautam commentedComment #6
junglePer the parent issue, rescoping this to do it for non-test code.
So i have to set this back to NW, sorry for the change in the middle!
Comment #7
hardik_patel_12 commentedReplacing \Drupal::token() with IoC injection for WidgetBase.php file.
Kindly review.
Comment #8
jungle@Hardik_Patel_12, thanks for working on this!
Would be bette not just telling the
__METHOD__, suggestion:__NAMESPACE__ . '\WidgetBase::__construct()Comment #9
jungleThe CR title "widgetBase constructor injecting a token service ($token) as an argument"
widgetBase -> WidgetBase
Comment #10
jungleThe CR:
Add would be better wrapping
\Drupal\Core\Field\WidgetBase::__construct()and$tokenwith the HTML tagcodeComment #11
hardik_patel_12 commentedCR and deprecation message updated.
Comment #14
snehalgaikwad commentedComment #15
snehalgaikwad commentedReplaced \Drupal::token() from two more places.
Comment #16
hardik_patel_12 commentedLast patch failed to apply.
Comment #17
snehalgaikwad commentedComment #18
hardik_patel_12 commentedLast patch failed to apply , re-rolling the patch.