unlcms / project-herbie

Drupal 10 implementation at the University of Nebraska–Lincoln
https://cms.unl.edu
GNU General Public License v2.0
5 stars 6 forks source link

Favicon get install configs #591 #592

Closed sarongebre closed 1 month ago

sarongebre commented 6 months ago

12/19/2023 I believe just merging this pull request is fine. Without the drush commands and other instructions, I put below.

591

I added unl_five.settings.yml and unl_five_herbie.settings.yml config install files to the herbie_config feature. Maybe this will fix the favicon issue we are having on sites created before the first fix was pushed? Or we just need to do this https://github.com/unlcms/project-herbie/pull/557

However, for the herbie_config feature to work, I believe this pull request would need to be completed.

So I removed * @validate-config-name from /vendor/drush/drush/src/Drupal/Commands/config/ConfigCommands.php in my local project and it let me create the unl_five_herbie.settings.yml file using this command vendor/bin/drush config:set --input-format=yaml unl_five_herbie.settings '?' "{features: {node_user_picture: false, comment_user_picture: true, comment_user_verification: true, favicon: 1}, logo: {use_default: 1}, favicon: {use_default: 0, path: '' }}"