Issue #1962358 by penyaskito: token_info() was changed to a service. See https://drupal.org/node/1973488