Conversation
There was a problem hiding this comment.
Still dislike that option names, it doesn't tell you that this is related with bundles at all, IMHO
|
It's a straight copy of the console Unfortunately I couldn't just subclass the original command, I had to duplicate it just to set a different generator. |
|
This command works for this use case but it adds files we don't need. It would be possible to combine the two commands and use only one generator. |
|
@dawehner, @arlina-espinoza Should we bring the console command into the CEB module? We could put the template files in |
|
@Jaesin I will take a look at this in order to have it ready to merge. |
| // Use the generator to create the entity files from the template files. | ||
| $this | ||
| ->getGenerator() | ||
| ->generate($module, $entity_name, $entity_class, $label, $bundle_entity_name); |
There was a problem hiding this comment.
I think we should also check whether this is an existing entity or not.
Fixes #6