Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Module Builder

@module_builder@drupal.community
mastodon 4.7.2
  • Open on drupal.community

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@drupal.community.

Avatar icon from https://iconduck.com.

17 Followers
0 Following
19 Posts
Joined April 23, 2025
Project page:
https://www.drupal.org/project/module_builder
Documentation:
https://drupal-code-builder.github.io/module-builder-docs/
Open post
Module Builder @module_builder@drupal.community
· 4mo ago

New release of #Drupal Code Builder, 4.6.5. Some minor bugfixes. https://github.com/drupal-code-builder/drupal-code-builder/releases/tag/4.6.5

GitHub

Release 4.6.5 · drupal-code-builder/drupal-code-builder

Bug fixes: Fixed service parameters in YAML not quoted. Fixes #426. Fixed checkboxes and radios elements need an #options property. Fixes #427. Fixed form array renderer not writing a closing brac...

1
0
0
0
Open post
Module Builder @module_builder@drupal.community
· 13mo ago

New release of Drupal Code Builder. Version 4.5.4 adds adoption of plugin types from existing code.
This allows easy conversion of annotation-based plugin types to attribute-based plugin types!
1. Adopt your module and its plugin type.
2. In the plugin types section form, change the discovery type to 'attribute'. This will preserve data such as the plugin subdirectory, and annotation properties.
3. Generate!
You can then use #Drupal #Rector to convert plugins of this type to use attributes.

2
0
7
0
Open post
Module Builder @module_builder@drupal.community
· 2mo ago
Replying to
4.6.8 is now released, with text explaining this functionality added to the UI. (Did you know that even though Drupal Code Builder has no UI, it defines the UI? That's because it defines a data schema, which Module Builder uses to automatically build the forms to edit your module in Drupal.)
0
0
0
0
Open post
Module Builder @module_builder@drupal.community
· 3mo ago
New release of Drupal Code Builder adds support for generating core CLI commands, which are new in #Drupal 11.4.0, released earlier this week. Define your command's name, description, aliases, parameters, and options, as well as injected services for the command class.
0
0
2
0
Open post
Module Builder @module_builder@drupal.community
· 2mo ago
Drupal Code Builder 4.6.9 adds two new features: support for route attributes (fresh in #Drupal 11.4!) and individual properties on content entity base fields for revisionable and translatable functionality. https://github.com/drupal-code-builder/drupal-code-builder/releases/tag/4.6.9
GitHub

Release 4.6.9 · drupal-code-builder/drupal-code-builder

New features: Added option for route defined with an attribute. Fixes #424. Added revisionable and translatable properties for content entity type base fields. Fixes #441. Bug fixes: Fixed butto...

0
0
0
0
Open post
Module Builder @module_builder@drupal.community
· 1mo ago

New releases of Drupal Code Builder and Module Builder add support for Drupal 12! Generate code for your core MRs! You will need the #Drupal core MR from https://www.drupal.org/project/drupal/issues/3387322 to install the module, but you can switch away from that once it's enabled.

Drupal.org

Allow contrib extensions to be installed by Drupal when core branch is 11.x/main

Problem/Motivation Currently, contrib modules and themes can't be installed via "Extend" (/admin/modules) or Drush on a git clone of core that's on the `main` development branch. This prevents testing of contrib modules on the latest development version of core, and also affects DX because there are many useful contrib modules which are useful to developers working on core (Devel, Devel Accessibility, Admin toolbar, Config Devel, etc etc). Note: This issue is not about downloading modules with C

0
0
1
0
Open post
Module Builder @module_builder@drupal.community
· 2mo ago

New release of #Drupal Code Builder: 4.6.8 adds options for route controllers for the request and route match parameters, which Drupal's routing system can automatically pass in for you (https://www.drupal.org/docs/8/api/routing-system/parameters-in-routes/using-parameters-in-routes). And a bug fix: services which don't have an interface alias get the Autowire attribute added to their parameter when injected into a Hooks class.

Drupal.org

Using parameters in routes

In order to pass dynamic values from the URI to the controller you can use parameters. Parameters are defined in the route path using curly braces. For example if the path is defined as '/node/{node}/edit', then a request to the /node/1234/edit URI would make the node object with ID 1234 available in the controller as the $node argument. Example A common use case for parameters is to refer to a content or configuration entity type in the route path.

0
0
0
0
Open post
Module Builder @module_builder@drupal.community
· 3mo ago

New release of #Drupal Code Builder, 4.6.6. A bugfix, and two new features: generate a preprocessor for a theme hook item, and adopt existing hook classes into a module. https://github.com/drupal-code-builder/drupal-code-builder/releases/tag/4.6.6

GitHub

Release 4.6.6 · drupal-code-builder/drupal-code-builder

New features: Added adoption of hook classes. Add option for preprocessor to theme hook items. Fixes #429. Bug fixes: Fixed legacy hook_theme() implementation returns [] instead of calling to OO...

0
0
0
0
Open post
Module Builder @module_builder@drupal.community
· 6mo ago

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

Module Builder

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 ty

0
0
1
0
Open post
Module Builder @module_builder@drupal.community
· 6mo ago

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

Module Builder

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

0
0
0
1
Open post
Module Builder @module_builder@drupal.community
· 7mo ago

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

0
0
0
1
Open post
Module Builder @module_builder@drupal.community
· 8mo ago

New release of #Drupal Code Builder (the library that powers Module Builder) 4.6.1 adds generation of entity revision UI elements (thanks @NikLP@drupal.community), 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

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.

0
0
1
0
Open post
Module Builder @module_builder@drupal.community
· 8mo ago

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

Drupal.org

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.

0
0
1
0
Open post
Module Builder @module_builder@drupal.community
· 10mo ago

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.

0
0
2
0
Open post
Module Builder @module_builder@drupal.community
· 13mo ago

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

GitHub

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...

0
0
2
0
Open post
Module Builder @module_builder@drupal.community
· 13mo ago

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.

0
4
0
0
Open post
Module Builder @module_builder@drupal.community
· 13mo ago

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'!

0
0
0
0
Open post
Module Builder @module_builder@drupal.community
· 13mo ago

New release of Module Builder! Version 4.1.2 adds tables for compound elements with a small number of properties. This kicks in for things such as form elements and plugin type attribute class properties. It makes the form for compound elements simpler to understand. #Drupal

0
0
2
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Pricing
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 00:56:52 UTC