Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"drupal/config_entity_revisions": "1.7.0",
"drupal/events_logging": "1.4.0",
"drupal/embed": "1.4.0",
"drupal/gin": "^3.0",
"drupal/header_and_footer_scripts": "2.2.0",
"drupal/image_widget_crop": "2.3.0",
"drupal/ldap": "^3.0@beta",
Expand Down
Empty file removed config/install/.gitkeep
Empty file.
37 changes: 0 additions & 37 deletions config/install/switch_page_theme.settings.yml

This file was deleted.

25 changes: 0 additions & 25 deletions os2forms_forloeb.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,6 @@
* Install, update and uninstall functions for the os2forms_forloeb_profile installation profile.
*/

/**
* Implements hook_install().
*/
function os2forms_forloeb_install() {
$theme_list = [
'claro',
'gin',
'bootstrap',
'custom_theme'
];

// Install themes
\Drupal::service('theme_installer')->install($theme_list);

// Get theme manager
$system_theme = \Drupal::configFactory()->getEditable('system.theme');

// Set default and admin themes
$system_theme
->set('default', 'custom_theme')
->set('admin', 'gin')
->save();
}

use Drupal\maestro\Engine\MaestroEngine;

/**
Expand Down Expand Up @@ -157,4 +133,3 @@ function os2forms_forloeb_webform_create(\Drupal\webform\WebformInterface $webfo
// Set purge of submissions more than 30 days old.
$webform->setSetting('purge_days', '30');
}