Closed (fixed)
Project:
ICS Link Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2020 at 02:54 UTC
Updated:
17 Nov 2020 at 11:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vensiresComment #3
vensiresComment #4
zekvyrin commentedI'm ok with the change, but these need to come from dependency injection, not using Drupal:: global.
Comment #5
vensiresYou 're right! Patch attached with some further cleanup.
Comment #6
vensiresFixed a small bug in the previous patch.
Comment #7
zekvyrin commentedWhy did you remove entityTypeManager?
It's used in line 107 (pre-patch)
I see currentUser wasn't used, so it can be removed, although I had the intention of adding it to tokens. But I guess this is a another todo.
Comment #8
zekvyrin commentedoh I see.. entityTypeManager() is a function in controllerBase. I need to test that (soon hopefully)
Comment #9
vensirescurrentUser() is also provided by ControllerBase ;)
Comment #11
zekvyrin commentedCommited. Thank you @vensires
Comment #12
zekvyrin commented