Create a custom theme
Generates a theme based on the Webhaven starterkit and sets it as the default. See Create a custom theme.
ddev create-theme my_themeWithout DDEV:
vendor/bin/dr webhaven:create-theme my_themeWithout DDEV, the theme is only built when Node is installed.
To get .env.local, add --base-url=https://your-site.com.
Dev mode
Turns off Drupal caching and CSS/JS aggregation, and turns on Twig debug. Don't use it on a live site.
ddev dev-mode
ddev dev-mode disableWithout DDEV:
vendor/bin/dr webhaven:dev-mode
vendor/bin/dr webhaven:dev-mode disableUpdate translations
Fetches the latest interface translations. Drupal also does this once a week by itself.
ddev translationsWithout DDEV:
vendor/bin/drush locale:check
vendor/bin/drush locale:update