You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed Drupal 8 beta 14, and am trying to come up to speed (I'm a long time developer of 5-7). When I install token, and try to go to the status report, I get the fatal error:
Class 'Drupal\Component\Utility\String' not found in /Users/pglatz/dev/pglatz/pglatz-d8/modules/token/token.tokens.inc on line 103
attached is a screenshot
thanks for porting token!
The text was updated successfully, but these errors were encountered:
I think I found the problem; see https://www.drupal.org/node/2481955 -- different module, same issue. I found that if I replace
'name' => String::checkPlain($date_format_type_info->label()),
with
'name' => Drupal\Component\Utility\SafeMarkup::checkPlain($date_format_type_info->label()),
throughout the module, I don't get the error.
I'm new to Drupal 8, finding all kinds of little things like this, hope it helps.
I just installed Drupal 8 beta 14, and am trying to come up to speed (I'm a long time developer of 5-7). When I install token, and try to go to the status report, I get the fatal error:
Class 'Drupal\Component\Utility\String' not found in /Users/pglatz/dev/pglatz/pglatz-d8/modules/token/token.tokens.inc on line 103
attached is a screenshot
thanks for porting token!
The text was updated successfully, but these errors were encountered: