Add new comment

I'm not totally sure what you mean by "entity definitions", but regardless, I would use Features:

  • If you mean actual entities (e.g. nodes) then you can use the UUID module in conjunction with Features. However, I've generally found UUID to be a bit awkward to work with (the Features rapidly become overridden, even with no edits.)
  • If you mean bundles (e.g. content types) then again, export using Features. Non-node bundles can be defined and exported with the help of ECK: even if you don't specifically use ECK to build the bundle, you should export into an ECK-compatible file breakdown and function naming.

Either way, you're still breaking them down into files: you're just letting Features define the standard for how that happens.