Closed (fixed)
Project:
Counter
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2016 at 06:58 UTC
Updated:
13 Dec 2021 at 12:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nehakhadke commentedComment #3
amit.drupal commentedUse class - use Drupal\Core\StringTranslation\StringTranslationTrait; and submit new patch
I hope this is helpfull.
Comment #4
amit.drupal commentedComment #5
nehakhadke commentedComment #6
vuil@amit.drupal There is not need to add use statement because it is present in the ContextAwarePluginBase (already extended from parent class BlockBase).
So, @nehakhadke your patch is OK.
Thank you.
Comment #7
gaurav.kapoor commentedThe patch didn't apply anymore because of recent changes, so I rerolled it with the latest release. Also, removed some of other deprecated functions.
Comment #9
gaurav.kapoor commented