summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/profiles')
-rw-r--r--kolab.org/www/drupal-7.26/profiles/minimal/minimal.info12
-rw-r--r--kolab.org/www/drupal-7.26/profiles/minimal/minimal.install81
-rw-r--r--kolab.org/www/drupal-7.26/profiles/minimal/minimal.profile15
-rw-r--r--kolab.org/www/drupal-7.26/profiles/minimal/translations/README.txt3
-rw-r--r--kolab.org/www/drupal-7.26/profiles/standard/standard.info31
-rw-r--r--kolab.org/www/drupal-7.26/profiles/standard/standard.install432
-rw-r--r--kolab.org/www/drupal-7.26/profiles/standard/standard.profile15
-rw-r--r--kolab.org/www/drupal-7.26/profiles/standard/translations/README.txt3
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info13
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module1
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test37
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info15
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module1
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/testing.info11
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/testing.install21
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/testing.profile6
16 files changed, 697 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/profiles/minimal/minimal.info b/kolab.org/www/drupal-7.26/profiles/minimal/minimal.info
new file mode 100644
index 0000000..3055140
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/minimal/minimal.info
@@ -0,0 +1,12 @@
+name = Minimal
+description = Start with only a few modules enabled.
+version = VERSION
+core = 7.x
+dependencies[] = block
+dependencies[] = dblog
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/minimal/minimal.install b/kolab.org/www/drupal-7.26/profiles/minimal/minimal.install
new file mode 100644
index 0000000..9cf4fa2
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/minimal/minimal.install
@@ -0,0 +1,81 @@
+<?php
+/**
+ * @file
+ * Install, update and uninstall functions for the minimal installation 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', 'bartik');
+ $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'));
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/minimal/minimal.profile b/kolab.org/www/drupal-7.26/profiles/minimal/minimal.profile
new file mode 100644
index 0000000..fe6da8c
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/minimal/minimal.profile
@@ -0,0 +1,15 @@
+<?php
+/**
+ * @file
+ * Enables modules and site configuration for a minimal site installation.
+ */
+
+/**
+ * Implements hook_form_FORM_ID_alter() for install_configure_form().
+ *
+ * Allows the profile to alter the site configuration form.
+ */
+function minimal_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'];
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/minimal/translations/README.txt b/kolab.org/www/drupal-7.26/profiles/minimal/translations/README.txt
new file mode 100644
index 0000000..a0afa51
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/minimal/translations/README.txt
@@ -0,0 +1,3 @@
+
+This directory should be used to place downloaded translations
+for installing Drupal core.
diff --git a/kolab.org/www/drupal-7.26/profiles/standard/standard.info b/kolab.org/www/drupal-7.26/profiles/standard/standard.info
new file mode 100644
index 0000000..8db9e38
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/standard/standard.info
@@ -0,0 +1,31 @@
+name = Standard
+description = Install with commonly used features pre-configured.
+version = VERSION
+core = 7.x
+dependencies[] = block
+dependencies[] = color
+dependencies[] = comment
+dependencies[] = contextual
+dependencies[] = dashboard
+dependencies[] = help
+dependencies[] = image
+dependencies[] = list
+dependencies[] = menu
+dependencies[] = number
+dependencies[] = options
+dependencies[] = path
+dependencies[] = taxonomy
+dependencies[] = dblog
+dependencies[] = search
+dependencies[] = shortcut
+dependencies[] = toolbar
+dependencies[] = overlay
+dependencies[] = field_ui
+dependencies[] = file
+dependencies[] = rdf
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/standard/standard.install b/kolab.org/www/drupal-7.26/profiles/standard/standard.install
new file mode 100644
index 0000000..ae34eaf
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/standard/standard.install
@@ -0,0 +1,432 @@
+<?php
+/**
+ * @file
+ * Install, update and uninstall functions for the standard installation profile.
+ */
+
+/**
+ * Implements hook_install().
+ *
+ * Perform actions to set up the site for this profile.
+ *
+ * @see system_install()
+ */
+function standard_install() {
+ // Add text formats.
+ $filtered_html_format = array(
+ 'format' => 'filtered_html',
+ 'name' => 'Filtered HTML',
+ 'weight' => 0,
+ 'filters' => array(
+ // URL filter.
+ 'filter_url' => array(
+ 'weight' => 0,
+ 'status' => 1,
+ ),
+ // HTML filter.
+ 'filter_html' => array(
+ 'weight' => 1,
+ 'status' => 1,
+ ),
+ // Line break filter.
+ 'filter_autop' => array(
+ 'weight' => 2,
+ 'status' => 1,
+ ),
+ // HTML corrector filter.
+ 'filter_htmlcorrector' => array(
+ 'weight' => 10,
+ 'status' => 1,
+ ),
+ ),
+ );
+ $filtered_html_format = (object) $filtered_html_format;
+ filter_format_save($filtered_html_format);
+
+ $full_html_format = array(
+ 'format' => 'full_html',
+ 'name' => 'Full HTML',
+ 'weight' => 1,
+ 'filters' => array(
+ // URL filter.
+ 'filter_url' => array(
+ 'weight' => 0,
+ 'status' => 1,
+ ),
+ // Line break filter.
+ 'filter_autop' => array(
+ 'weight' => 1,
+ 'status' => 1,
+ ),
+ // HTML corrector filter.
+ 'filter_htmlcorrector' => array(
+ 'weight' => 10,
+ 'status' => 1,
+ ),
+ ),
+ );
+ $full_html_format = (object) $full_html_format;
+ filter_format_save($full_html_format);
+
+ // Enable some standard blocks.
+ $default_theme = variable_get('theme_default', 'bartik');
+ $admin_theme = 'seven';
+ $blocks = array(
+ array(
+ 'module' => 'system',
+ 'delta' => 'main',
+ 'theme' => $default_theme,
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'content',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'search',
+ 'delta' => 'form',
+ 'theme' => $default_theme,
+ 'status' => 1,
+ 'weight' => -1,
+ 'region' => 'sidebar_first',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'node',
+ 'delta' => 'recent',
+ 'theme' => $admin_theme,
+ 'status' => 1,
+ 'weight' => 10,
+ 'region' => 'dashboard_main',
+ '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' => 'powered-by',
+ 'theme' => $default_theme,
+ 'status' => 1,
+ 'weight' => 10,
+ 'region' => 'footer',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'system',
+ 'delta' => 'help',
+ 'theme' => $default_theme,
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'help',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'system',
+ 'delta' => 'main',
+ 'theme' => $admin_theme,
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'content',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'system',
+ 'delta' => 'help',
+ 'theme' => $admin_theme,
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'help',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'user',
+ 'delta' => 'login',
+ 'theme' => $admin_theme,
+ 'status' => 1,
+ 'weight' => 10,
+ 'region' => 'content',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'user',
+ 'delta' => 'new',
+ 'theme' => $admin_theme,
+ 'status' => 1,
+ 'weight' => 0,
+ 'region' => 'dashboard_sidebar',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ array(
+ 'module' => 'search',
+ 'delta' => 'form',
+ 'theme' => $admin_theme,
+ 'status' => 1,
+ 'weight' => -10,
+ 'region' => 'dashboard_sidebar',
+ 'pages' => '',
+ 'cache' => -1,
+ ),
+ );
+ $query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache'));
+ foreach ($blocks as $block) {
+ $query->values($block);
+ }
+ $query->execute();
+
+ // Insert default pre-defined node types into the database. For a complete
+ // list of available node type attributes, refer to the node type API
+ // documentation at: http://api.drupal.org/api/HEAD/function/hook_node_info.
+ $types = array(
+ array(
+ 'type' => 'page',
+ 'name' => st('Basic page'),
+ 'base' => 'node_content',
+ 'description' => st("Use <em>basic pages</em> for your static content, such as an 'About us' page."),
+ 'custom' => 1,
+ 'modified' => 1,
+ 'locked' => 0,
+ ),
+ array(
+ 'type' => 'article',
+ 'name' => st('Article'),
+ 'base' => 'node_content',
+ 'description' => st('Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'),
+ 'custom' => 1,
+ 'modified' => 1,
+ 'locked' => 0,
+ ),
+ );
+
+ foreach ($types as $type) {
+ $type = node_type_set_defaults($type);
+ node_type_save($type);
+ node_add_body_field($type);
+ }
+
+ // Insert default pre-defined RDF mapping into the database.
+ $rdf_mappings = array(
+ array(
+ 'type' => 'node',
+ 'bundle' => 'page',
+ 'mapping' => array(
+ 'rdftype' => array('foaf:Document'),
+ ),
+ ),
+ array(
+ 'type' => 'node',
+ 'bundle' => 'article',
+ 'mapping' => array(
+ 'field_image' => array(
+ 'predicates' => array('og:image', 'rdfs:seeAlso'),
+ 'type' => 'rel',
+ ),
+ 'field_tags' => array(
+ 'predicates' => array('dc:subject'),
+ 'type' => 'rel',
+ ),
+ ),
+ ),
+ );
+ foreach ($rdf_mappings as $rdf_mapping) {
+ rdf_mapping_save($rdf_mapping);
+ }
+
+ // Default "Basic page" to not be promoted and have comments disabled.
+ variable_set('node_options_page', array('status'));
+ variable_set('comment_page', COMMENT_NODE_HIDDEN);
+
+ // Don't display date and author information for "Basic page" nodes by default.
+ variable_set('node_submitted_page', FALSE);
+
+ // Enable user picture support and set the default to a square thumbnail option.
+ variable_set('user_pictures', '1');
+ variable_set('user_picture_dimensions', '1024x1024');
+ variable_set('user_picture_file_size', '800');
+ variable_set('user_picture_style', 'thumbnail');
+
+ // Allow visitor account creation with administrative approval.
+ variable_set('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL);
+
+ // Create a default vocabulary named "Tags", enabled for the 'article' content type.
+ $description = st('Use tags to group articles on similar topics into categories.');
+ $vocabulary = (object) array(
+ 'name' => st('Tags'),
+ 'description' => $description,
+ 'machine_name' => 'tags',
+ );
+ taxonomy_vocabulary_save($vocabulary);
+
+ $field = array(
+ 'field_name' => 'field_' . $vocabulary->machine_name,
+ 'type' => 'taxonomy_term_reference',
+ // Set cardinality to unlimited for tagging.
+ 'cardinality' => FIELD_CARDINALITY_UNLIMITED,
+ 'settings' => array(
+ 'allowed_values' => array(
+ array(
+ 'vocabulary' => $vocabulary->machine_name,
+ 'parent' => 0,
+ ),
+ ),
+ ),
+ );
+ field_create_field($field);
+
+ $help = st('Enter a comma-separated list of words to describe your content.');
+ $instance = array(
+ 'field_name' => 'field_' . $vocabulary->machine_name,
+ 'entity_type' => 'node',
+ 'label' => 'Tags',
+ 'bundle' => 'article',
+ 'description' => $help,
+ 'widget' => array(
+ 'type' => 'taxonomy_autocomplete',
+ 'weight' => -4,
+ ),
+ 'display' => array(
+ 'default' => array(
+ 'type' => 'taxonomy_term_reference_link',
+ 'weight' => 10,
+ ),
+ 'teaser' => array(
+ 'type' => 'taxonomy_term_reference_link',
+ 'weight' => 10,
+ ),
+ ),
+ );
+ field_create_instance($instance);
+
+
+ // Create an image field named "Image", enabled for the 'article' content type.
+ // Many of the following values will be defaulted, they're included here as an illustrative examples.
+ // See http://api.drupal.org/api/function/field_create_field/7
+
+ $field = array(
+ 'field_name' => 'field_image',
+ 'type' => 'image',
+ 'cardinality' => 1,
+ 'locked' => FALSE,
+ 'indexes' => array('fid' => array('fid')),
+ 'settings' => array(
+ 'uri_scheme' => 'public',
+ 'default_image' => FALSE,
+ ),
+ 'storage' => array(
+ 'type' => 'field_sql_storage',
+ 'settings' => array(),
+ ),
+ );
+ field_create_field($field);
+
+
+ // Many of the following values will be defaulted, they're included here as an illustrative examples.
+ // See http://api.drupal.org/api/function/field_create_instance/7
+ $instance = array(
+ 'field_name' => 'field_image',
+ 'entity_type' => 'node',
+ 'label' => 'Image',
+ 'bundle' => 'article',
+ 'description' => st('Upload an image to go with this article.'),
+ 'required' => FALSE,
+
+ 'settings' => array(
+ 'file_directory' => 'field/image',
+ 'file_extensions' => 'png gif jpg jpeg',
+ 'max_filesize' => '',
+ 'max_resolution' => '',
+ 'min_resolution' => '',
+ 'alt_field' => TRUE,
+ 'title_field' => '',
+ ),
+
+ 'widget' => array(
+ 'type' => 'image_image',
+ 'settings' => array(
+ 'progress_indicator' => 'throbber',
+ 'preview_image_style' => 'thumbnail',
+ ),
+ 'weight' => -1,
+ ),
+
+ 'display' => array(
+ 'default' => array(
+ 'label' => 'hidden',
+ 'type' => 'image',
+ 'settings' => array('image_style' => 'large', 'image_link' => ''),
+ 'weight' => -1,
+ ),
+ 'teaser' => array(
+ 'label' => 'hidden',
+ 'type' => 'image',
+ 'settings' => array('image_style' => 'medium', 'image_link' => 'content'),
+ 'weight' => -1,
+ ),
+ ),
+ );
+ field_create_instance($instance);
+
+ // Enable default permissions for system roles.
+ $filtered_html_permission = filter_permission_name($filtered_html_format);
+ user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'access comments', $filtered_html_permission));
+ user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'skip comment approval', $filtered_html_permission));
+
+ // Create a default role for site administrators, with all available permissions assigned.
+ $admin_role = new stdClass();
+ $admin_role->name = 'administrator';
+ $admin_role->weight = 2;
+ user_role_save($admin_role);
+ user_role_grant_permissions($admin_role->rid, array_keys(module_invoke_all('permission')));
+ // Set this as the administrator role.
+ variable_set('user_admin_role', $admin_role->rid);
+
+ // Assign user 1 the "administrator" role.
+ db_insert('users_roles')
+ ->fields(array('uid' => 1, 'rid' => $admin_role->rid))
+ ->execute();
+
+ // Create a Home link in the main menu.
+ $item = array(
+ 'link_title' => st('Home'),
+ 'link_path' => '<front>',
+ 'menu_name' => 'main-menu',
+ );
+ menu_link_save($item);
+
+ // Update the menu router information.
+ menu_rebuild();
+
+ // Enable the admin theme.
+ db_update('system')
+ ->fields(array('status' => 1))
+ ->condition('type', 'theme')
+ ->condition('name', 'seven')
+ ->execute();
+ variable_set('admin_theme', 'seven');
+ variable_set('node_admin_theme', '1');
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/standard/standard.profile b/kolab.org/www/drupal-7.26/profiles/standard/standard.profile
new file mode 100644
index 0000000..d554c93
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/standard/standard.profile
@@ -0,0 +1,15 @@
+<?php
+/**
+ * @file
+ * Enables modules and site configuration for a standard site installation.
+ */
+
+/**
+ * Implements hook_form_FORM_ID_alter() for install_configure_form().
+ *
+ * Allows the profile to alter the site configuration form.
+ */
+function standard_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'];
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/standard/translations/README.txt b/kolab.org/www/drupal-7.26/profiles/standard/translations/README.txt
new file mode 100644
index 0000000..a0afa51
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/standard/translations/README.txt
@@ -0,0 +1,3 @@
+
+This directory should be used to place downloaded translations
+for installing Drupal core.
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info
new file mode 100644
index 0000000..7c14427
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info
@@ -0,0 +1,13 @@
+name = "Drupal system listing compatible test"
+description = "Support module for testing the drupal_system_listing function."
+package = Testing
+version = VERSION
+core = 7.x
+hidden = TRUE
+files[] = drupal_system_listing_compatible_test.test
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
new file mode 100644
index 0000000..b3d9bbc
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
@@ -0,0 +1 @@
+<?php
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
new file mode 100644
index 0000000..198c1d8
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
@@ -0,0 +1,37 @@
+<?php
+
+/**
+ * Helper to verify tests in installation profile modules.
+ */
+class DrupalSystemListingCompatibleTestCase extends DrupalWebTestCase {
+ /**
+ * Use the Minimal profile.
+ *
+ * This test needs to use a different installation profile than the test which
+ * asserts that this test is found.
+ *
+ * @see SimpleTestInstallationProfileModuleTestsTestCase
+ */
+ protected $profile = 'minimal';
+
+ public static function getInfo() {
+ return array(
+ 'name' => 'Installation profile module tests helper',
+ 'description' => 'Verifies that tests in installation profile modules are found and may use another profile for running tests.',
+ 'group' => 'Installation profile',
+ );
+ }
+
+ function setUp() {
+ // Attempt to install a module in Testing profile, while this test runs with
+ // a different profile.
+ parent::setUp(array('drupal_system_listing_compatible_test'));
+ }
+
+ /**
+ * Non-empty test* method required to executed the test case class.
+ */
+ function testDrupalSystemListing() {
+ $this->pass(__CLASS__ . ' test executed.');
+ }
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info
new file mode 100644
index 0000000..e805fb4
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info
@@ -0,0 +1,15 @@
+name = "Drupal system listing incompatible test"
+description = "Support module for testing the drupal_system_listing function."
+package = Testing
+version = VERSION
+; This deliberately has the wrong core version, to test that it does not take
+; precedence over the version of the same module that is in the
+; modules/simpletest/tests directory.
+core = 6.x
+hidden = TRUE
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
new file mode 100644
index 0000000..b3d9bbc
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
@@ -0,0 +1 @@
+<?php
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/testing.info b/kolab.org/www/drupal-7.26/profiles/testing/testing.info
new file mode 100644
index 0000000..dde47ca
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/testing.info
@@ -0,0 +1,11 @@
+name = Testing
+description = Minimal profile for running tests. Includes absolutely required modules only.
+version = VERSION
+core = 7.x
+hidden = TRUE
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/testing.install b/kolab.org/www/drupal-7.26/profiles/testing/testing.install
new file mode 100644
index 0000000..f9d8f58
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/testing.install
@@ -0,0 +1,21 @@
+<?php
+/**
+ * @file
+ * Install, update and uninstall functions for the testing profile.
+ */
+
+/**
+ * Implements hook_install().
+ *
+ * Perform actions to set up the site for this profile.
+ *
+ * @see system_install()
+ */
+function testing_install() {
+ // 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'));
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/testing.profile b/kolab.org/www/drupal-7.26/profiles/testing/testing.profile
new file mode 100644
index 0000000..6a71a66
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/testing.profile
@@ -0,0 +1,6 @@
+<?php
+/**
+ * @file
+ * Installation profile for tests.
+ */
+