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

Escape single quotes in .info.ym file generation for generate:module cmd #3972


None yet
2 participants
Copy link

commented Oct 26, 2018

With unescaped quotes in the module filename - for example, caused by:

 // Welcome to the Drupal module generator

 Enter the new module name:
 > test's this```

You get:

drupal generate:module

In InfoParserDynamic.php line 25:

Unable to parse modules/custom/test_s_this/ Unexpected characters near "s this'" at line 1 (near "name: 'test's this'").

@LOBsTerr LOBsTerr merged commit 754b55f into hechoendrupal:master Apr 5, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.