Keep Drupal Configuration in Sync Across Environments Without Wiping Production Changes
Use Drupal's Configuration API and Drush to sync config between environments, preview changes before import, and protect production from accidental overwrites.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Drupal's Configuration API and Drush to sync config between environments, preview changes before import, and protect production from accidental overwrites.
Goal Determine whether Drupal core's automatic database log pruning can remove messages from a failed deployment before an administrator reviews the Recent log entries report. Constraints and uncertainty The dblog module retains a configurable maximum number of entries and deletes older entries during cron. The default limit, administration path, and pruning
Drupal configuration lives in the database until you export it. Learn how to move views, content types, and menus between environments using YAML and Drush without losing changes.
A step-by-step diagnostic guide for Drupal's generic fatal error page after deploy or cache rebuild. Covers OPcache staleness, DB connectivity, config sync mismatches, and file permissions — with ordered checks, targeted fixes, and clear escalation criteria.
Use Drupal core's JSON:API module to serve entities to React or mobile frontends without writing custom REST controllers.
Contextual Filters turn one Drupal View into a dynamic template — but only when validation, defaults, and exceptions are configured deliberately. A worked author-archive example shows the fallback chain and three failure modes that cause empty pages, 404 loops, and SEO duplicate content.
Step‑by‑step guide to build a paginated list of Drupal 10 content using the core Views module, including setup, verification, and recovery.
Store sensitive uploads outside docroot using private:// and force downloads through Drupal's private file controller so access checks run before bytes are streamed.
Learn how to enable Drupal’s built‑in JSON:API, craft efficient queries, and secure exposed content for headless applications. A step‑by‑step example shows filtering, sorting, and sparse fieldsets, plus a look at caching trade‑offs.