Problem/Motivation
Since Drush 11.x, the package for drupal code generator was bump to new major version.
https://packagist.org/packages/drush/drush#11.0.0
https://packagist.org/packages/chi-teck/drupal-code-generator#2.3.0
In this version, generators was revamp and the drush command in this module doesn't work anymore.
Steps to reproduce
- Install drush 11.x with composer.
- Run command
drush generate subentity
Proposed resolution
https://www.drush.org/latest/generators/#overview
---
Any plan to support Drush 11.x (also means dropping support for Drupal 8) ?
Issue fork subentity-3268566
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
anfor commentedComment #4
fchometonTest with drush 11, the command "drush generate subentity" works correctly.
The entity is well created as well as the files links.menu.yml, links.task.yml and routing.yml
Comment #6
sylvainm commentedbundable entity was broken, it is fixed with this commit
I suggest to create a new branch: 2.x compatible with drush 11+ and to modifiy 1.x branch to make it incompatible with drush 11+
Then, a 2.0 release can be done, recommended; and a new 1.2 release is done, deprecated
Comment #8
maxpahComment #9
maxpah