\Drupal calls should be avoided in classes, use dependency injection instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3121074-2.patch | 3.89 KB | neelam_wadhwani |
\Drupal calls should be avoided in classes, use dependency injection instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3121074-2.patch | 3.89 KB | neelam_wadhwani |
Comments
Comment #2
neelam_wadhwani commentedKIndly review patch.
Comment #4
tom.camp commentedThank you neelam_wadhwani. Your patch had a conflict with another patch that I had applied, but I corrected this issue by adding `'@config.factory'` to the drush.services.yml and using the ConfigFactoryInterface to get the settings.
Comment #5
tom.camp commented