Entity Scaffold
Component ID
2395361
Component name
Entity Scaffold
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
2533
Component created
Component changed
Component body
THIS IS NOT A MODULE. YOU CAN'T ENABLE IT. FOLLOW THE INSTRUCTIONS.
Overview
Entity Scaffold is intended to be an easy way of creating your own Entities by auto-generating a basic Entity which the developer can customize later.
It is mainly based on Drush, the developer may pass a name of the module/entity and a location, then, Entity Scaffold will create all the needed hooks, schema, etc.
How To Install
You can just drush dl entity_scaffold and drush will download it into your .drush folder. (Alternately, you can obtain the package another way and copy the folder into .drush yourself.)
Usage
To generates a module containing a basic structure of a custom entity:
Examples:drush entity-scaffold my_entity /path/to/generate/new/module
Arguments:
- entity_name: The name of the entity that will be generated containing the entity implementation. Note that the entity name will be the name of the new module.
- module_destination: The location where the generated module will be placed.
Other useful modules
- Entity Bonus Tools - provides IDE code completion for your entity metadata wrapper.
