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.
token_requirements()
initialize the value of the local variable $t
, but in one case the code calls directly t()
.
if ($duplicate_tokens = token_find_duplicate_tokens()) {
foreach ($duplicate_tokens as $token => $modules) {
$duplicate_tokens[$token] = t('@token (defined by modules: @modules)', array('@token' => $token, '@modules' => implode(', ', $modules)));
}
// ...
}
Comments
Comment #1
Dave ReidCommitted to CVS. Thanks Kiam!
http://drupal.org/cvs?commit=461310
http://drupal.org/cvs?commit=461312