-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
Minor fix: Fixed Module generation with Controller option=YES #115
Conversation
Thanks for the PR @bearsite and for noticing it was not generating the controller May you change the code to something like this same as in Controller generation https://github.com/hechoendrupal/DrupalAppConsole/blob/master/src/Command/GeneratorControllerCommand.php#L118 I will add comments on the suggested lines |
$class_machine_name = 'default_controller'; | ||
$parameters = array( | ||
'class_name' => $class_name, | ||
// 'services' => $services, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove comment line
Thank you @jmolivas. Please check if I applied your comments correctly. |
Already tested and works fine thanks I will go ahead and merge the PR |
Minor fix: Fixed Module generation with Controller option=YES
Thanks for the contribution @bearsite 👍 |
Fixed parameters for Controller template in ModuleGenerator.
Fixed creating of Directory structure in ModuleGenerator.