title: Drupal 7 Module Dependencies
body: <p>I am currently developing a loan application site with a number of modules required for the system. I had managed to create 4 modules. To illustrate my question, here is the situation.</p>
  
  <pre><code>Module 1
  Module 2 - dependent on Module 1
  Module 3 - dependent on Module 1
  Module 4 - dependent on Module 2
  </code></pre>
  
  <p>Now if I enable Module 4 without enabling the 3 other modules, drupal asked me to install Module 2 and Module 1 for it is the pre-requisite of Module 4. My question is will the sequence of installation be like as follows ?:</p>
  
  <pre><code>Module 1
  Module 2
  Module 4
  </code></pre>
  
  <p>Thanks in advance.</p>