first commit

This commit is contained in:
2024-07-15 12:33:27 +02:00
commit ce50ae282b
22084 changed files with 2623791 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
name: Testing site config
type: profile
description: 'Minimal profile for testing with default site config.'
# version: VERSION
hidden: true
# Information added by Drupal.org packaging script on 2024-07-04
version: '10.3.1'
project: 'drupal'
datestamp: 1720094222

View File

@@ -0,0 +1,22 @@
<?php
/**
* @file
* Install functions for the testing_site_config module.
*/
/**
* Implements hook_install().
*/
function testing_site_config_install() {
// Set the site email address to something that is not sendmail_from.
\Drupal::configFactory()->getEditable('system.site')
->set('mail', 'profile-testing-site-config@example.com')
->save(TRUE);
// Set the time zone to something that is not the system timezone (which is
// Australia/Sydney in the testing environment).
\Drupal::configFactory()->getEditable('system.date')
->set('timezone.default', 'America/Los_Angeles')
->save(TRUE);
}