Skip to content

Commit

Permalink
Merge branch 'feature/drupal-10'
Browse files Browse the repository at this point in the history
# Conflicts:
#	oddprofile.info.yml
  • Loading branch information
Christoffer Palm committed Apr 19, 2023
2 parents 98942ae + 01a7da9 commit 036eeee
Show file tree
Hide file tree
Showing 276 changed files with 14,985 additions and 110 deletions.
9 changes: 8 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ working with the profile 👍
When adding dependencies modules with a stability lower than **beta** should
not be included because they are not required to provide a upgrade path and
could because of this potentially create big problems for some sites after
a module upgrade.****
a module upgrade.

## Learn more

Please read the documentation on Drupal.org for more information about
managing an installation profile.

- [How to write a Drupal installation profile](https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or-distribution-project/creating-distributions/how-to-write-a-drupal-installation-profile)
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Odd Profile

This profile is used as the base profile for all of our Drupal 8/9 sites and
all our specialized profiles will extend this profile.
This profile is used as the base profile for all of our Drupal 9/10 sites.
This profile contains base functionality needed on most websites.

## Getting started

Expand All @@ -10,3 +10,13 @@ The best way to use this profile is to install it with the help of composer.
```
composer require oddhill/oddprofile
```

## Configuration files

Run the following commands to remove any site specific information from the
configuration files when they have been changed.

```
find ./config/install/ -type f -exec sed -i '' '/^uuid: /d' {} \;
find ./config/install/ -type f -exec sed -i '' '/_core:/{N;d;}' {} \;
```
28 changes: 19 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,24 @@
"prefer-stable": true,
"minimum-stability": "beta",
"require": {
"drupal/admin_toolbar": "^3.0",
"drupal/devel": "^4.1.1",
"drupal/masquerade": "^2.0.0@beta",
"drupal/metatag": "^1.16",
"drupal/module_filter": "^3.2",
"drupal/pathauto": "^1.8",
"drupal/redirect": "^1.6",
"drupal/reroute_email": "^2.0.2",
"drupal/token": "^1.9"
"drupal/admin_toolbar": "^3.3",
"drupal/block_field": "^1.0@RC",
"drupal/devel": "^5.0",
"drupal/field_group": "^3.4",
"drupal/gin": "^3.0@RC",
"drupal/gin_login": "^2.0",
"drupal/gin_toolbar": "^1.0@RC",
"drupal/mail_login": "^2.7",
"drupal/masquerade": "^2.0@RC",
"drupal/menu_admin_per_menu": "^1.5",
"drupal/metatag": "^1.22",
"drupal/module_filter": "^4.0",
"drupal/paragraphs": "^1.15",
"drupal/pathauto": "^1.11",
"drupal/redirect": "^1.8",
"drupal/reroute_email": "^2.2",
"drupal/scheduler": "^1.5",
"drupal/simple_sitemap": "^4.1",
"drupal/token": "^1.11"
}
}
1 change: 1 addition & 0 deletions config/install/admin_toolbar.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
menu_depth: 4
3 changes: 3 additions & 0 deletions config/install/admin_toolbar_tools.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
max_bundle_number: 20
hoverintent_functionality: true
show_local_tasks: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ dependencies:
module:
- system
theme:
- seven
id: seven_breadcrumbs
theme: seven
- claro
id: claro_breadcrumbs
theme: claro
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
provider: system
label_display: '0'
provider: system
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ dependencies:
module:
- system
theme:
- seven
id: seven_content
theme: seven
- claro
id: claro_content
theme: claro
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
provider: system
label_display: '0'
provider: system
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ dependencies:
module:
- help
theme:
- seven
id: seven_help
theme: seven
- claro
id: claro_help
theme: claro
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
provider: help
label_display: '0'
provider: help
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ langcode: en
status: true
dependencies:
theme:
- seven
id: seven_local_actions
theme: seven
- claro
id: claro_local_actions
theme: claro
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Primary admin actions'
provider: core
label_display: '0'
provider: core
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ dependencies:
module:
- system
theme:
- seven
id: seven_messages
theme: seven
- claro
id: claro_messages
theme: claro
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
provider: system
label_display: '0'
provider: system
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ langcode: en
status: true
dependencies:
theme:
- seven
id: seven_page_title
theme: seven
- claro
id: claro_page_title
theme: claro
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
provider: core
label_display: '0'
provider: core
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ langcode: en
status: true
dependencies:
theme:
- seven
id: seven_primary_local_tasks
theme: seven
- claro
id: claro_primary_local_tasks
theme: claro
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Primary tabs'
provider: core
label_display: '0'
provider: core
primary: true
secondary: false
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ langcode: en
status: true
dependencies:
theme:
- seven
id: seven_secondary_local_tasks
theme: seven
- claro
id: claro_secondary_local_tasks
theme: claro
region: pre_content
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Secondary tabs'
provider: core
label_display: '0'
provider: core
primary: false
secondary: true
visibility: { }
19 changes: 19 additions & 0 deletions config/install/block.block.gin_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- gin
id: gin_breadcrumbs
theme: gin
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }
19 changes: 19 additions & 0 deletions config/install/block.block.gin_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- gin
id: gin_content
theme: gin
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
label_display: '0'
provider: system
visibility: { }
19 changes: 19 additions & 0 deletions config/install/block.block.gin_help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- help
theme:
- gin
id: gin_help
theme: gin
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
label_display: '0'
provider: help
visibility: { }
17 changes: 17 additions & 0 deletions config/install/block.block.gin_local_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
theme:
- gin
id: gin_local_actions
theme: gin
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Primary admin actions'
label_display: '0'
provider: core
visibility: { }
19 changes: 19 additions & 0 deletions config/install/block.block.gin_messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- gin
id: gin_messages
theme: gin
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
label_display: '0'
provider: system
visibility: { }
17 changes: 17 additions & 0 deletions config/install/block.block.gin_page_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
theme:
- gin
id: gin_page_title
theme: gin
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
visibility: { }
19 changes: 19 additions & 0 deletions config/install/block.block.gin_primary_local_tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
theme:
- gin
id: gin_primary_local_tasks
theme: gin
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Primary tabs'
label_display: '0'
provider: core
primary: true
secondary: false
visibility: { }
Loading

0 comments on commit 036eeee

Please sign in to comment.