Skip to content
Draft
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
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,31 @@ themes that form the basis for creating a stable site.

## Requirements

### Packages

- [Recipe Installer Kit](https://www.drupal.org/project/recipe_installer_kit)

### Modules

- [Admin Toolbar](https://www.drupal.org/project/admin_toolbar)
- [Automatic IP ban (Autoban)](https://www.drupal.org/project/autoban)
- [CAPTCHA](https://www.drupal.org/project/captcha)
- [Configuration Update Manager](https://www.drupal.org/project/config_update)
- [Drupal Symfony Mailer Plus (DSM+)](https://www.drupal.org/project/symfony_mailer)
- [Error & Exception Mailer](https://www.drupal.org/project/exception_mailer)
- [External Links](https://www.drupal.org/project/extlink)
- [Features](https://www.drupal.org/project/features)
- [Font Awesome Icons](https://www.drupal.org/project/fontawesome)
- [Idle](https://www.drupal.org/project/idle)
- [Module Filter](https://www.drupal.org/project/module_filter)
- [reCAPTCHA](https://www.drupal.org/project/recaptcha)
- [reCAPTCHA Preloader](https://www.drupal.org/project/recaptcha_preloader)
- [Service](https://www.drupal.org/project/service)
- [StandWithUkraine 🇺🇦](https://www.drupal.org/project/standwithukraine)

### Themes

- [Bootstrap](https://www.drupal.org/project/bootstrap)

### Recipes

- [D8+ Config Export to PHP array](https://github.com/ohorbatiuk/d8_config2php)
- [D8+ Recipe](https://github.com/ohorbatiuk/d8_recipe)


## Recommended module

Expand Down
20 changes: 3 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,37 @@
"composer/installers": "1.11.0",
"cweagans/composer-patches": "^1.0",
"drupal/admin_toolbar": "3.6.2",
"drupal/autoban": "1.11",
"drupal/bootstrap": "5.0.1",
"drupal/captcha": "2.0.7",
"drupal/config_update": "2.0.0-alpha4",
"drupal/core": "11.2.3",
"drupal/core-composer-scaffold": "11.2.3",
"drupal/exception_mailer": "4.0.7",
"drupal/extlink": "2.0.2",
"drupal/features": "dev-3447460-drupal-11-compatibility#40732dfd317473d9913c9e97d0cf7e4d68a78934",
"drupal/fontawesome": "3.0.0",
"drupal/idle": "1.0.2",
"drupal/module_filter": "5.0.3",
"drupal/recaptcha": "3.3",
"drupal/recaptcha_preloader": "2.0.2",
"drupal/recipe_installer_kit": "1.0.0-alpha7",
"drupal/service": "3.0.1",
"drupal/standwithukraine": "3.0.1",
"drupal/symfony_mailer": "1.6.2",
"ohorbatiuk/d8_recipe": "dev-feature/1-recipe-installer-kit",
"php": "^8.3",
"twbs/bootstrap": "5.3.3"
},
"require-dev": {
"drupal/config2php": "3.0.3"
"ohorbatiuk/d8_config2php": "dev-main"
},
"extra": {
"patches": {
"drupal/autoban": {
"Mixed links": "https://www.drupal.org/files/issues/2023-09-09/autoban-mixed-links-3386212-2.patch",
"3530962 Drupal 11.2.0 - Upgrade Error": "https://git.drupalcode.org/project/autoban/-/commit/616a1cde3db69ecf2eed00e827c2692bae7d5164.patch"
},
"drupal/bootstrap": {
"Form element class": "https://git.drupalcode.org/issue/bootstrap-3543448/-/commit/340d741b0ec8dcb4af512841c72370880a061ba9.patch"
},
"drupal/core": {
"Default theme favicon for administration theme": "https://www.drupal.org/files/issues/2025-03-20/default-theme-favicon-for-administration-theme-2981434-16.patch"
},
"drupal/extlink": {
"Extra Comma Appears in Anchor Title Attributes": "https://git.drupalcode.org/project/extlink/-/merge_requests/55.patch"
},
"drupal/features": {
"Set default bundle for site": "https://www.drupal.org/files/issues/2023-07-03/features-current-bundle-2789001-17.patch",
"Fix method signature in FeaturesConfigInstaller::findPreExistingConfiguration() for Drupal 11.2+ compatibility": "https://www.drupal.org/files/issues/2025-07-15/features-drupal11-method-signature-fix.patch",
"PHP 8.4 compatibility": "https://git.drupalcode.org/issue/features-3516043/-/commit/6608b27167d11e04f840103d1470a5687078b677.patch"
},
"drupal/symfony_mailer": {
"Add support for complex address strings in back-compatibility mode": "https://www.drupal.org/files/issues/2025-05-28/symfony_mailer-support_complex_address_strings-3350992-38.patch"
}
},
"enable-patching": true,
Expand Down
97 changes: 0 additions & 97 deletions config/install/features.bundle.d8.yml

This file was deleted.

8 changes: 0 additions & 8 deletions config/install/user.role.administrator.yml

This file was deleted.

2 changes: 0 additions & 2 deletions d8.features.yml

This file was deleted.

25 changes: 18 additions & 7 deletions d8.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: The installation profile for CMS Drupal 11 based on the most common

type: profile
core_version_requirement: '>=11.2'
version: 0.23.3.211
version: 0.24.0.212

php: 8.3

Expand All @@ -23,16 +23,27 @@ install:
- drupal:contextual
- drupal:field_ui
- drupal:help
- drupal:node
- drupal:shortcut
- drupal:update

- admin_toolbar:admin_toolbar_search
- admin_toolbar:admin_toolbar_tools
- features:features_ui
- idle:idle (>=1.0.2)
- module_filter:module_filter

themes:
- claro
- d8_theme
forms:
- '\Drupal\RecipeKit\Installer\Form\RecipesForm'
- '\Drupal\RecipeKit\Installer\Form\SiteNameForm'

recipes:
required:
- ohorbatiuk/d8_recipe
optional:
config2php:
name: Config Export to PHP array
packages:
- ohorbatiuk/d8_config2php

hide_messages:
- 'An email must have a "To", "Cc", or "Bcc" header.'
- 'The configuration options have been saved.'
- 'Unable to send email. Contact the site administrator if the problem persists.'
29 changes: 29 additions & 0 deletions d8.install
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<?php

declare(strict_types=1);

/**
* @file
* Install, update and uninstall functions for the d8 installation profile.
*/

use Drupal\Core\Extension\ModuleInstallerInterface;
use Drupal\d8\D8Setup;
use Drupal\d8\Form\D8CaptchaForm;
use Drupal\d8\Form\D8ConfigureForm;
use Drupal\RecipeKit\Installer\Hooks;

/**
* Implements hook_install().
*/
function d8_install(bool $is_syncing): void {
if (!$is_syncing) {
\Drupal::service(ModuleInstallerInterface::class)->install(['service']);

\Drupal::classResolver(D8Setup::class)->install();
}
}
Expand All @@ -22,6 +28,8 @@ function d8_install(bool $is_syncing): void {
* Implements hook_install_tasks().
*/
function d8_install_tasks(array &$install_state): array {
Hooks::installTasks($install_state);

return [
'install_captcha_form' => [
'display_name' => t('Activate captcha'),
Expand All @@ -35,6 +43,8 @@ function d8_install_tasks(array &$install_state): array {
* Implements hook_install_tasks_alter().
*/
function d8_install_tasks_alter(array &$tasks, array $install_state): void {
Hooks::installTasksAlter($tasks, $install_state);

$tasks['install_configure_form']['function'] = D8ConfigureForm::class;
}

Expand All @@ -45,6 +55,25 @@ function d8_update_last_removed(): int {
return 11201;
}

/**
* Uninstall redundant modules.
*/
function d8_update_11202(array &$sandbox): void {
\Drupal::classResolver(D8Setup::class)->module(
[
'config_update',
'd8_ban',
'd8_config2php',
'd8_menu',
'features',
'features_ui',
'node',
'shortcut',
],
uninstall: TRUE,
);
}

/**
* Process list of update hooks.
*
Expand Down
12 changes: 0 additions & 12 deletions modules/features/d8_ban/config/install/autoban.autoban.login.yml

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions modules/features/d8_ban/config/install/autoban.settings.yml

This file was deleted.

2 changes: 0 additions & 2 deletions modules/features/d8_ban/d8_ban.features.yml

This file was deleted.

5 changes: 5 additions & 0 deletions modules/features/d8_ban/d8_ban.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ core_version_requirement: '>=10'
dependencies:
- autoban:autoban_ban
- autoban:autoban_dblog

hidden: true

lifecycle: deprecated
lifecycle_link: https://github.com/ohorbatiuk/d8/issues/377

This file was deleted.

2 changes: 0 additions & 2 deletions modules/features/d8_captcha/d8_captcha.features.yml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions modules/features/d8_config2php/d8_config2php.features.yml

This file was deleted.

Loading