Skip to content

Conversation

@GueGuerreiro
Copy link
Contributor

This addresses #4169.

It requires hechoendrupal/drupal-console-core#369 to be merged first, for a few of the generators that use the function Twig function serviceClassInjection.

Adds spacing between Twig `use_class_services` block declarations.
This one has a lot of coding standard errors,
as well as a malformed namespace.
I have not attempted to fix those, as they are
out of scope for this issue, although I fixed
them for the create() function, since that's
directly related to what I'm changing.
This one has some coding standard errors.
I have not attempted to fix those,
as they are out of scope for this issue, although I fixed
them for the create() function and the
currentUser property definition, since that's
directly related to what I'm changing.
This one has some coding standard errors.
I have not attempted to fix those,
as they are out of scope for this issue, although I fixed
them for the create() function and the
property definitions, since that's
directly related to what I'm changing.
@nequeteme
Copy link
Contributor

Hi @GueGuerreiro I tested your pr but using the command drupal gcon I have an error, could you please check this error?

In controller.php.twig line 34: Unknown "serviceClassInjectionNoOverride" function. Did you mean "serviceClassInjection"?

Captura de pantalla de 2019-10-11 13-33-33

@GueGuerreiro
Copy link
Contributor Author

Hi @nequeteme, this PR won't work unless you also apply hechoendrupal/drupal-console-core#369. That one adds the missing serviceClassInjectionNoOverride twig function 👍

@enzolutions
Copy link
Contributor

Thanks

@enzolutions enzolutions merged commit 0fe1993 into hechoendrupal:master Oct 11, 2019
GueGuerreiro added a commit to GueGuerreiro/drupal-console that referenced this pull request Nov 9, 2019
When the class itself is implementing ContainerFactoryPluginInterface, we do not have a parent create method we can use.
enzolutions pushed a commit that referenced this pull request Nov 11, 2019
When the class itself is implementing ContainerFactoryPluginInterface, we do not have a parent create method we can use.
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

Successfully merging this pull request may close these issues.

3 participants