Closed (fixed)
Project:
Simple XML sitemap
Version:
8.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2018 at 07:18 UTC
Updated:
4 May 2018 at 11:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
prashant.cPatch needs to be tested and reviewed.
Comment #4
gbyteThanks, but I would rather implement this after core 8.6 comes out, as this seems to be a new service which won't work prior to 8.5. Lots of people are still on core < 8.5.
Comment #5
gbyteFeel free to port the patch to 8.x-3.x, I will gladly review and commit.
Comment #6
prashant.c@gbyte.co
I have submitted patch for 8.3.x and tested it locally for installation message which seems to be working fine.
Putting this in Review so that other scenarios can be tested.
Comment #7
gbyteComment #8
prashant.c@gbyte.co
using
use Drupal\Core\Messenger\MessengerInterfaceinstead ofuse Drupal\Core\Messenger\MessengerBut iam not able to figure out why it throwing error
Comment #10
gbyte@Prashant.c It failed because you were trying to inject the new service through the static create function, but that's how you would usually do it in a controller or plugin context. In services you usually inject other services into the constructor through the services file, see the commit above.
Comment #12
gbyteForgot to commit the Logger class. :|