Profiler -------- Profiler is a library that allows an install profile to be defined as a Drupal `.info` file rather than as a standard PHP script. The benefits of using Profiler for an install profile are: - Simpler creation and management of install profiles. - Reduced custom code and complexity in managing installation tasks and configuration. - Inheritance between install profiles and definition of sub-profiles that can override specific aspects of base profiles. - Simplified migration path between Drupal 6.x and 7.x install profiles. Implementing Profiler in an install profile ------------------------------------------- Profiler can be placed in any directory belonging to your install profile. If installed as a standard library the correct location for Profiler is: profiles/[yourprofile]/libraries/profiler If using a drush make makefile for packaging/distribution, drush make can place Profiler in the standard location with the following lines: libraries[profiler][download][type] = "get" libraries[profiler][download][url] = "http://ftp.drupal.org/files/projects/profiler-7.x-2.0-beta1.tar.gz" Profiler expects that the `.profile` file initializes the profiler API with the following lines of code: