summaryrefslogtreecommitdiff
path: root/profiles/expert
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/expert')
-rw-r--r--profiles/expert/expert.profile18
1 files changed, 17 insertions, 1 deletions
diff --git a/profiles/expert/expert.profile b/profiles/expert/expert.profile
index a9231e478..aebb6062e 100644
--- a/profiles/expert/expert.profile
+++ b/profiles/expert/expert.profile
@@ -4,7 +4,23 @@
/**
* Implement hook_profile_tasks().
*/
-function expert_profile_tasks(&$task, $url) {
+function expert_profile_tasks() {
+ $tasks = array(
+ 'expert_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 expert_profile_site_setup(&$install_state) {
// Enable some standard blocks.
$values = array(