This project is not covered by Drupal’s security advisory policy.
This module is obsolete.
Please see Module Builder
-----------------------------------------------------
What's this ?
This module is for Drupal 8 developpers (from beginners to advanced ones) only. There will never be any "stable" release as it is intended to be a dev tool under constant development.
Generator UI allows you to develop faster by allowing you to generate code from template files packaged into the module within your Drupal installation. As an example you can therefore create a module with a path and its permission directly into your drupal installation. Up to you to change the default "hello world" into whatever you want.
The modules has also its help mode that brings a lot of comments on the code to help you understand how to develop with Drupal 8.
Contribute !
Please help and provide you own code template ! Module is under heavy development and any help is appreciated !
Available code generators :
- Create a module with .info.yml file.
- Create .install file (hook_schema, hook_install, hook_uninstall, hook_requirements).
- Create a menu router with its controller / form and task.
- Create a permission.
- Generate a form / config form and form with AJAX features.
- Generate a block.
- Cache API example.
- Email.
- Formatter plugin.
- Field widget and field type (processing...)
- ...and generate a generator !
- Many to come !
Roadmap :
- Some cleanup is requiered to fit 100% Drupal 8's standards.
- Continue to create new generators.
- Enrich the possibilities and ergonomy of the system.
Warning ! This is a development tool only and should never be active on any of your production site. This module generates code.
Installation & usage :
- Install the module like any other one.
- You may have to allow your server to allow the module to write into the module/* directory with the right user / group.
- Go to the template generators and fill in the forms to generate your code and either copy / paste or directly generate into your custom module. All the file directories will be automatically created.
Similar projects :
- see console project for the same purpose, but through command line. Twig templates used by console may be easily integrated into Generator UI (and will for sure !).
- see examples module to help you understand how to develop with Drupal. Examples from this module will be stolen as well to enrich Generator UI !
Sponsored by French / Tunisian company émérya.
Do not hesitate to contact us to share, contribute and work together on this if interested ! We need your beautiful code templates as well !
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Developer Tools
- 1 site reports using this module
- Created by eme on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.