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.
hook_queue_info
is not longer used : https://www.drupal.org/node/2341649
Replace by the annotated class.
Comment | File | Size | Author |
---|---|---|---|
#18 | interdiff-2610834-15-18.txt | 3.59 KB | naveenvalecha |
#18 | 2610834-18.patch | 10.72 KB | naveenvalecha |
#15 | remove_hook_queue_info-2610834-13-15.interdiff.txt | 2.14 KB | Sharique |
#15 | remove_hook_queue_info-2610834-15.patch | 9.09 KB | Sharique |
Comments
Comment #2
AjitSComment #3
Sharique CreditAttribution: Sharique as a volunteer commentedComment #6
piyuesh23 CreditAttribution: piyuesh23 at QED42 commentedComment #7
Sharique CreditAttribution: Sharique as a volunteer commentedtriggering test.
Comment #8
naveenvalechareupdating the title.hope this would be better.
Comment #9
Sharique CreditAttribution: Sharique as a volunteer commentedHere is updated patch, the patch also some code formatting corrections in module file.
Comment #10
Sharique CreditAttribution: Sharique as a volunteer commentedUpdated patch to fix error during cron run.
Comment #11
dhruveshdtripathi CreditAttribution: dhruveshdtripathi as a volunteer and at DevsAdda commentedComment #12
AjitSWe are not supporting Twitter anymore, since it stopped providing the stats. This should be removed.
This change is not required.
This was correct earlier.
Should be removed.
Should be removed.
Should be removed.
$twitter_total
should be removed.This could just be replaced by
Comment #13
Sharique CreditAttribution: Sharique as a volunteer commentedRemoved twitter code, fixed coding standard issue.
Comment #14
naveenvalechainterdiff please next time
https://www.drupal.org/documentation/git/interdiff
call an getEditable object at first place and then reuse it when you will save it. instead of calling the method again and again.
use REQUEST_TIME https://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/consta...
SocialStatusUpdates sounds better name. leaving this for module maintainer what he reckons here ?
Inject the configFactory service here. See how to in LocaleTranslation queue worker https://api.drupal.org/api/drupal/core%21modules%21locale%21src%21Plugin...
how have you used the ConfigFactory here ?
inject the connection service here.
Comment #15
Sharique CreditAttribution: Sharique as a volunteer commented@Naveen didn't understand what your are trying to say in 4.
Here is update patch. and interdiff too.
Comment #16
naveenvalecha#15 see below.
use DI to inject the config factory.
use DI to inject the connection service.
Comment #17
Sharique CreditAttribution: Sharique as a volunteer commented@Naveen For database this was mention here https://www.drupal.org/node/2133171, similarly core has provided helper function for config also, please provide the link for which way your talking about.
Comment #18
naveenvalechaAddressed #16.
#17, See interdiff
Comment #19
naveenvalechaLet's do it.
The whole code is of sharique and I only inject the services. So doing RTBC it :)
only question why are we passing another argument here ?
As per function defination it only takes one argument ?
have you handled any special case ? if not then remove this second $base_url argument.
It can be taken care at commit.
Comment #21
Sharique CreditAttribution: Sharique as a volunteer commented