Drupal 8: How to Export and Import View
How to export and import views in Drupal 8 between development and production environments.
Technical essays, architectural deep-dives, and practical guides at the intersection of code and design.
Page 25 of 28
How to export and import views in Drupal 8 between development and production environments.
A guide to basic curl commands for making REST API calls, downloading files, and sending data from the terminal.
Drupal code to extract article links, titles, category names, and tag names from all nodes for SEO or reporting purposes.
A handy reference of commonly used Elasticsearch queries — index listing, search, match, bool, aggregations, and more.
Fix the Elasticsearch error 'Validation Failed: 1: script or doc is missing' when updating documents.
How to programmatically block Drupal users by their email address using the user_save API.
How to resolve the php55w-common conflicts with php-common-5 error when installing PHP libraries with pecl.
How to programmatically create a Drupal 7 node and attach an image field from a public URL.
How to implement long-running cron tasks in Drupal 7 using hook_cron_queue_info instead of hook_cron to avoid timeout issues.
A collection of useful Drupal 7 code snippets for common database queries and operations.
Learn how to take a backup from a MongoDB instance using mongodump and restore it to another instance using mongorestore.
A Docker image setup for Drupal 7 with the PHP MongoDB extension pre-installed for connecting Drupal to MongoDB.