Module Builder

11 Followers
0 Following
20 Posts

Module Builder is a GUI code generator for Drupal which analyses your codebase in order to generate components dynamically.

Module Builder is a Drupal module, which is powered by the Drupal Code Builder library.

Follow for occasional updates. Operated by @joachim.

Avatar icon from https://iconduck.com.

Project pagehttps://www.drupal.org/project/module_builder
Documentationhttps://drupal-code-builder.github.io/module-builder-docs/
Is the form on the 'Miscellaneous' tab in Module Builder getting too big? Should some of it be moved to another form, and what would be a logical split? How about moving services, service providers, and events to a 'Services & events' tab? Or theme hooks and libraries to a 'Theming' tab? https://drupal-code-builder.github.io/module-builder-docs/sections/misc/ #Drupal
Miscellaneous form

Miscellaneous form# The Miscellaneous tab lets you various components, including: Services Event subscribers Events Permissions Theme hooks Libraries Drush commands Services# Services are classes which provide some sort of API, and which are obtained from the service container. Click ‘Add a services item’. This adds a form section for the service. Optionally, select a service type. This adds a service tag to your service, and makes your service implement a particular API, and the service will typically be collected by another service and its methods called by the collector.

Module Builder
New documentation site for Module Builder on github pages: https://drupal-code-builder.github.io/module-builder-docs/ #Drupal
Home

Module Builder# Module Builder is a Drupal module which creates code for Drupal modules. Module Builder provides an interface in your Drupal site’s admin area, which guides you through a series of forms to set the components for your module and their options, and then write the code files. You can write a new module from scratch, or add components to an existing module. The options for your module are stored in Drupal configuration, as a config entity, so you can return to your module’s options and add or change things, and then re-generate the updated parts of the code.

Module Builder
New release of Module Builder, 4.2.2, adds a UX improvement: when you click a button to add a new item, the page scrolls up to the new form element. Module Builder's forms can get big and complex if you add a lot of components, so this makes it easier to understand what's changed. #Drupal
New release of #Drupal Code Builder (the library that powers Module Builder) 4.6.1 adds generation of entity revision UI elements (thanks @NikLP), fixes DI on validation constraint plugins, and fixes a crash with test trait analysis on Drupal core 11.2.
https://github.com/drupal-code-builder/drupal-code-builder
GitHub - drupal-code-builder/drupal-code-builder: A library for building Drupal code.

A library for building Drupal code. Contribute to drupal-code-builder/drupal-code-builder development by creating an account on GitHub.

GitHub
New releases of Module Builder (4.2.0) and the #Drupal Code Builder library that powers it (4.6.0). Featuring: DI for plugin deriver classes, preprocess_HOOK hooks available as OO implementations, clearer labels in multiple items in the module form, and use of JS states to hide dependent items for a clearer UI.
https://www.drupal.org/project/module_builder
Module Builder

A module which auto-generates a skeleton or "scaffolding" for a module, along with hints on how to fill them in. Useful for newbie developers to learn how Drupal code works, and seasoned developers who are too lazy to look up what arguments a function has to take.

Drupal.org
The new release of #Drupal Code Builder, 4.5.7, adds the ability to add a custom class to a generated YAML plugin. For example, you might want a menu link plugin which has special dynamic behaviour. And as with most classes generated by Drupal Code Builder, you can also specify which services to inject.
New release of #Drupal Code Builder, the library which powers Module Builder. Version 4.5.6 is mostly small bugfixes.
https://github.com/drupal-code-builder/drupal-code-builder/releases/tag/4.5.6
Release 4.5.6 · drupal-code-builder/drupal-code-builder

Fixes: Fixed content entity types without a bundle entity type don’t have a Field UI base route. Fixes #254. Fixed title of admin settings form page. Fixes #316. Fixed ordering of getEditableConfi...

GitHub
New release of Module Builder. 4.1.3 adds options to write the module as a test module or a submodule inside an existing module.
New blog post: converting your plugin types to attributes with #ModuleBuilder: http://www.noreiko.com/blog/big-plugin-attribute-change-over-made-easy #Drupal #Rector
The big plugin attribute change-over made easy | Joachim's blog

The new release of #Drupal Code Builder, 4.5.5, can handle aliasing class imports that have the same short name. This has been a problem for generating constraint plugins since the move to plugin attributes, because both the plugin base class and the attribute class are called 'Constraint'!