Is there a Drupal module that can create a content type from an SQL Query or a CSV file?

I am looking for a module which can carry out the process itself, at least based on simple types like strings, dates, floats, and integers, something that can use an SQL table definition to create it.

Another option is one that provides a form similar to the table creation dialogs in database applications like SQLite Manager or Microsoft Access, where you specify the name of the field, the size and the type and the system goes off to carry out the task.

1 Answer 1


A module referred to as ECK has the functionality you're looking for.

Although, it works in the entity system to create new entity types. You might be looking for something to pragmatically create entity bundles (node content types). I would suggest researching the difference between Entity's and Bundles if you're not familiar.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.