Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed profiles

  • Loading branch information...
commit 39039d375574e5e32e3d19bdbac504db3e6e12b8 1 parent b1057b5
@scubafly authored
View
19 vacaturesprofile/vacatures.info
@@ -1,19 +0,0 @@
-name = Vacature sites
-description = Installation profile for vacature sites
-core = 3.x
-dependencies[] = views
-dependencies[] = ctools
-dependencies[] = admin_menu
-dependencies[] = module_filter
-dependencies[] = token
-dependencies[] = pathauto
-dependencies[] = link
-dependencies[] = backup_migrate
-dependencies[] = wysiwyg
-dependencies[] = devel
-
-dependencies[] = features
-dependencies[] = search_api
-dependencies[] = search_api_solr
-dependencies[] = admin_devel
-dependencies[] = ds
View
81 vacaturesprofile/vacatures.install
@@ -1,81 +0,0 @@
-<?php
-/**
- * @file
- * Install, update and uninstall functions for the vacatures install profile.
- */
-
-/**
- * Implements hook_install().
- *
- * Performs actions to set up the site for this profile.
- *
- * @see system_install()
- */
-function minimal_install() {
- // Enable some standard blocks.
- $default_theme = variable_get('theme_default', 'at_biz');
- $values = array(
- array(
- 'module' => 'system',
- 'delta' => 'main',
- 'theme' => $default_theme,
- 'status' => 1,
- 'weight' => 0,
- 'region' => 'content',
- 'pages' => '',
- 'cache' => -1,
- ),
- array(
- 'module' => 'user',
- 'delta' => 'login',
- 'theme' => $default_theme,
- 'status' => 1,
- 'weight' => 0,
- 'region' => 'sidebar_first',
- 'pages' => '',
- 'cache' => -1,
- ),
- array(
- 'module' => 'system',
- 'delta' => 'navigation',
- 'theme' => $default_theme,
- 'status' => 1,
- 'weight' => 0,
- 'region' => 'sidebar_first',
- 'pages' => '',
- 'cache' => -1,
- ),
- array(
- 'module' => 'system',
- 'delta' => 'management',
- 'theme' => $default_theme,
- 'status' => 1,
- 'weight' => 1,
- 'region' => 'sidebar_first',
- 'pages' => '',
- 'cache' => -1,
- ),
- array(
- 'module' => 'system',
- 'delta' => 'help',
- 'theme' => $default_theme,
- 'status' => 1,
- 'weight' => 0,
- 'region' => 'help',
- 'pages' => '',
- 'cache' => -1,
- ),
- );
- $query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache'));
- foreach ($values as $record) {
- $query->values($record);
- }
- $query->execute();
-
- // Allow visitor account creation, but with administrative approval.
- variable_set('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL);
-
- // Enable default permissions for system roles.
- user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content'));
- user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content'));
-}
View
15 vacaturesprofile/vacatures.profile
@@ -1,15 +0,0 @@
-<?php
-/**
- * @file
- * Enables modules and site configuration for vacatures installation
- */
-
-/**
- * Implements hook_form_FORM_ID_alter() for install_configure_form()
- *
- * Allows the profile to alter the sit configuration
- */
-function vacatures_form_install_configure_form_alter(&$form, $form_state) {
- // Pre-populate the site name with the server name.
- $form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
-}
Please sign in to comment.
Something went wrong with that request. Please try again.