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.
I know that setting $t = get_t() is common in hook_requirements, but I've never seen a double-dollar sign in front of $t before. This looks accidental.
Diff between the 1.0 version and the 1.1 version:
$requirements['plupload'] = array(
- 'title' => t('Plupload library'),
- 'value' => t('Unknown'),
+ 'title' => $$t('Plupload library'),
+ 'value' => $$t('Unknown'),
);
Is this double dollar sign intentional?
Comments
Comment #1
slashrsm CreditAttribution: slashrsm commentedThis is definitely an error. Thanks for reporting. Fixed in 7.x-1.x and 7.x-2.x.