18.10.2016 Views

Drupal 7 Module Development

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Installation Profiles<br />

This chapter will focus on creating installation profiles. Previous chapters covered<br />

building modules and features into <strong>Drupal</strong>. This chapter will cover bundling<br />

modules and themes with an installer that configures <strong>Drupal</strong> for a specific purpose.<br />

Here are some important topics that we will cover in this chapter:<br />

• Starting a new installation profile<br />

• Bundling modules and themes in a distribution<br />

• Creating a .profile file to store installation tasks<br />

• Enabling modules in the install process<br />

• Configuring the default blocks<br />

• Running the installer without using the interactive wizard<br />

By the end of the chapter you should have the basic knowledge to create your own<br />

installation profile and <strong>Drupal</strong> distribution.<br />

Introducing installation profiles<br />

Installation profiles are the way to plug into and customize the <strong>Drupal</strong> installation<br />

process. With installation profiles, additional forms and steps can be added to the<br />

installer, modules can be enabled, blocks can be set up, default settings can be<br />

configured, and the <strong>Drupal</strong> site can be customized.<br />

An installation profile is useful when you repeat the same install tasks regularly.<br />

These tasks can be automated, which is perfect for setting up a <strong>Drupal</strong> distribution<br />

or for situations where you build out the same base site repeatedly.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!