Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#2 | t_2819956_1.patch | 15.3 KB | nehakhadke |
Comment | File | Size | Author |
---|---|---|---|
#2 | t_2819956_1.patch | 15.3 KB | nehakhadke |
Comments
Comment #2
nehakhadke CreditAttribution: nehakhadke commentedComment #3
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedUse class - use Drupal\Core\StringTranslation\StringTranslationTrait; and submit new patch
I hope this is helpfull.
Comment #4
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedComment #5
nehakhadke CreditAttribution: nehakhadke at Invezza Technologies 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 CreditAttribution: gaurav.kapoor at Axelerant 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 CreditAttribution: gaurav.kapoor at Axelerant commented