Content Entity Builder
80 sites
Security covered
This module allows you to build custom content entity types and their fields directly through the Drupal administrative interface. You can configure various features like bundles, revisions, and translations, and then export your custom entity as a module.
Always Clear the cache if you have problem with this module.
Content Entity Builder, this module allow you build a content entity type and add base field to it by config.It also support export you content entity to module code and download it.
Features:
Bundles,revision, translatable, Owner are supported since beta14, both of them are optional.We add a Mode option for custom entity type since beta14, it has 4 options:
- Basic: the original way , One entity One table, keep your database table clean.
- Basic Plus : Basic + bundles support.
- Advanced: + bundles + translatable + Owner + Changed + Published
- Full: a custom content type like node, Advanced + revision.
How to use it
- Add a content entity type at admin/structure/content-types, for example "author", select mode "Basic",
- at admin/structure/content-types/manage/author, add base field to it, for example "Name", "Age", "Description"
- config entity type settings, include entity keys, entity paths. Make sure you know what you do.
- Click Save button! It will sync your config with database table
- If you select other mode option, you could see a "Bundles" tab, Click it you could manage the bundles of the entity type.
- Manage form display at admin/structure/content-types/manage/author/form-display, manage display at admin/structure/content-types/manage/author/display
- Add content at "/author/add", the path you could config
- Config entity permission at admin/people/permissions
- Click export tab, you could navigate to admin/structure/content-types/export,at here you could export your content entities to module code. It save you a lot time to create a custom content entity module.