|
|
Because drupal frequently misbehaves, here is a list of useful snippets.
|
|
|
This isn't intended for end-users of the distillery, but just listed here so we don't have to keep searching for it.
|
|
|
|
|
|
# Export, Import and Edit/Delete Module Configs
|
|
|
|
|
|
The whole Drupal config can be exported with:
|
|
|
```
|
|
|
drush cex -y
|
|
|
```
|
|
|
|
|
|
This will export all config files to `/web/sites/default/files/config_SOME_HASH/sync/`.
|
|
|
Here you can edit/delete the configs that are causing problems.
|
|
|
|
|
|
After you're done you can import the config again with:
|
|
|
```
|
|
|
drush cim -y
|
|
|
```
|
|
|
|
|
|
# Enable Stack Traces
|
|
|
|
|
|
The DSOD usually only says `The website encountered an unexpected error. `
|
... | ... | |