drupal-code-generator icon indicating copy to clipboard operation
drupal-code-generator copied to clipboard

A code generator for Drupal.

Results 48 drupal-code-generator issues
Sort by recently updated
recently updated
newest added

## Description Drupal Entity Generator fails to generate functional entity with error. > drush cr > > In RevisionLogEntityTrait.php line 35: > > The entity type test_entity does not have...

https://github.com/Chi-teck/drupal-code-generator/blob/56da9209b24a5a5b5d27bec9e523f02bdd101770/src/Command/SingleDirectoryComponent.php#L181 SDC generator warning message refers to `metadata.json` file instead of `.component.yml` file. This seems to be a leftover from [cl_generator code](https://git.drupalcode.org/project/cl_generator/-/blob/9758f804d5619b0f56ded1fe01e4859babcdc394/src/Generators/ComponentGenerator.php#L231) that was [adapted](https://github.com/Chi-teck/drupal-code-generator/pull/109) to generate SDC components instead...

At the moment, the target for a new single directory component has to be a theme. I would be really useful to be able to specify a custom module instead.

Drupal now supports plugin discovery through PHP attributes. https://www.drupal.org/project/drupal/issues/3252386 DCG generators needs to be updated to support this feature. The main question is how implement this without breaking compatibility with...

This error happens when trying to run `drush mi` or `drush migration`. I realize these are not proper aliases for the migration command, but this should fail gracefully, e.g. trying...

As per the Issue [#2350939](https://www.drupal.org/project/drupal/issues/2350939) on Drupal.org we can have Revision UI for Revisionable Entities. Update Content Entity Generator class to include Revision UI annotations in Entity Class . The...

Please add a command to generate plugin derivative extending **DeriverBase** class. Currently there is no command to generate plugin derivative. Hence we need to code same boilerplate code again and...

Updates the requirements on [drupal/coder](https://github.com/pfrenssen/coder) to permit the latest version. Commits 1a59890 chore(composer): Bump minimum version of PHPCS (#3440603) ad1de27 feat(MultiLineFunctionDeclaration): Add new sniff for multi-line function dec... 0c6ba2c feat(MultiLineFunctionDeclaration):...

dependencies

Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. Release notes Sourced from phpunit/phpunit's releases. PHPUnit 10.5.17 Changed The namespaces of dependencies are now prefixed with PHPUnitPHAR instead of...

dependencies