Why we create Module functionality file with ext. .inc not in .module file?

Events happening in the community are now at Drupal community events on www.drupal.org.
RavindraSingh's picture

Why we create Module functionality file with ext. .inc not in .module file.

My Module Structure is

------->MyModule
---------->MyModule.info
---------->MyModule.module
---------->MyModule.pages.inc

We use .inc file where we defines all the functionality of module.

Comments

Stay on topic

oadaeh's picture

Neither the groups nor the tags you used are relevant to your posting. Please keep your postings in relevant groups, or you might be banned for spamming.

I removed all tags and all groups except for Ravindra workshop (which I suspect is also not relevant, but I don't know anything about it).

I apologies for this

RavindraSingh's picture

I apologies for this, Please delete you comment,