summaryrefslogtreecommitdiff
path: root/profiles/default
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/default.profile19
1 files changed, 18 insertions, 1 deletions
diff --git a/profiles/default/default.profile b/profiles/default/default.profile
index 975162260..62e0cf79b 100644
--- a/profiles/default/default.profile
+++ b/profiles/default/default.profile
@@ -4,7 +4,24 @@
/**
* Implement hook_profile_tasks().
*/
-function default_profile_tasks(&$task, $url) {
+function default_profile_tasks() {
+ $tasks = array(
+ 'default_profile_site_setup' => array(),
+ );
+ return $tasks;
+}
+
+/**
+ * Installation task; perform actions to set up the site for this profile.
+ *
+ * This task does not return any output, meaning that control will be passed
+ * along to the next task without ending the page request.
+ *
+ * @param $install_state
+ * An array of information about the current installation state.
+ */
+function default_profile_site_setup(&$install_state) {
+
// Enable some standard blocks.
$values = array(
array(