Entity API adding bundles in a seperate module

No replies
Last seen: 9 years 42 weeks ago
Joined: 2009-12-07

Hello Everyone,

I am working on a module for the Real Estate industry. Originally I thought I would just modify d6 modules but realized that the Entity and Fields API were incredibly diverse and the way to go. This has forced me to start from scratch. The previous modules were very resource heavy and they were an all or nothing approach.

I have written the base module that installs an entity type and the listings bundle. I now want to write support modules that add bundles to the entity. People can choose what they want and there is a lot more flexibility with a lot less resources.

My biggest challenge is that even though there is a standard protocol(RETS) the implementation varies by provider. I need the flexibility to add on a module for MLS 1 or MLS 2 that bridges the entity and the data provider. One MLS might return csv and the next uses an older standard of tsv. The submodules/connectors can be configured individually to work with the entity/bundle. If a data provider changes their setup all we have to do is change the sub-module to work with the entity.

One entity multiple bundles is the only way I can think of doing this cleanly.

Can someone spread some light on creating a bundle from a sub-module properly?



Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:

Contact us

Below are the supported keyboard shortcuts for our video player.

Start / stop video
Go to next video
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
Jump to a percentage (2 is 20%, for example)
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
1 month
6 months
10% off
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.