- Issue created by @ahmadhalah
- πΊπΈUnited States ahmadhalah
This patch successfully resolved the issue I was facing.
The Gin theme is causing a custom profile installation to break when it is set as the default admin theme.
In the profile configuration (config/install/system.theme.yml
), set the following:
admin: gin
default: olivero
2- In profilename.info.yml
, define the theme settings:
distribution:
name: profilename
install:
theme: gin
3- Run the Drupal installation process.
4- The installation fails with an error (see attached image).
Validate that the user is anonymous before checking permissions in the preprocess hook to avoid conflicts during installation.
Active
4.0
Code
This patch successfully resolved the issue I was facing.