Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaks status report #65

Open
pglatz opened this issue Aug 9, 2015 · 1 comment
Open

breaks status report #65

pglatz opened this issue Aug 9, 2015 · 1 comment

Comments

@pglatz
Copy link

pglatz commented Aug 9, 2015

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!
callstack

@pglatz
Copy link
Author

pglatz commented Aug 10, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant