Skip to content
Code Snippets
Useful code to copy and paste
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress

Tag: Drupal

ACSF Drush Alias Generator

Streamline Your ACSF Workflow with the ACSF Drush Alias Generator

March 29, 2025 Leonardo Signorelli

Managing multiple Drupal sites on Acquia Cloud Site Factory (ACSF) can be challenging, especially when running Drush commands across different…

Continue Reading →

Posted in: Acquia, Acquia Cloud Site Factory, Bash, Drupal 10, Drupal 8-9, Drush, Terminal Filed under: Acquia, Acquia Cloud Site Factory, ACSF, Bash, Drupal, Drupal 10, drupal 8, Drupal 9, drush, Shell Script

Quick & Easy Drupal 10/11 Dev Environment with Docker and DDEV

March 5, 2025 Leonardo Signorelli

Setting up a local Drupal 10/11 development environment has never been easier, thanks to Docker and DDEV. Follow this simple…

Continue Reading →

Posted in: Composer, DDEV, Docker, Drupal 10, Drush Filed under: composer, DDEV, Docker, Drupal, Drupal 10, drush

Establishing Basic Content Security Policies for Your Drupal Website

July 13, 2024 Leonardo Signorelli

In this article, I will provide guidelines on setting up a foundational Content Security Policy (CSP) for your Drupal application.…

Continue Reading →

Posted in: Drupal 10, Drupal 8-9, Drupal Modules, Security Filed under: Drupal, Drupal 10, drupal 8, Drupal 9, Security

Drupal 9-10: Limit text formats available for WYSIWYG text inputs

July 10, 2024 Leonardo Signorelli

If you’re looking to enhance the usability of your Drupal site by limiting the text formats available for each WYSIWYG…

Continue Reading →

Posted in: Composer, Drupal 10, Drupal 8-9, Drupal Modules, Drush Filed under: composer, Drupal, Drupal 10, Drupal 9, Drupal modules, drush

Install and configure a Drupal 10 website on DreamHost using Composer

September 6, 2023 Leonardo Signorelli

The goal of this tutorial is to demonstrate how to install a Drupal 10 site on DreamHost using composer and…

Continue Reading →

Posted in: Composer, DreamHost, Drupal 10, Drush, PHP Filed under: composer, DreamHost, Drupal, Drupal 10, drush, PHP, PHP 8.1

Block an IP address with .htaccess

May 8, 2023 Leonardo Signorelli

In case you have identified an unusually high number of requests from a particular IP address with nefarious intentions, we…

Continue Reading →

Posted in: Apache, Drupal 8-9, Terminal, WordPress Filed under: .htaccess, Block IP address, Drupal, terminal, wordpress

Install a new Drupal Application with Acquia Cloud IDE

November 23, 2022 Leonardo Signorelli

Open your Cloud IDEClick the “Reset Workspace” button or execute: /ide/reset-workspace.py Clone your Cloud Platform repo inside the project folder:To…

Continue Reading →

Posted in: Acquia, Acquia Cloud IDE, Drupal 8-9, Drush Filed under: Acquia, Acquia Cloud, Acquia Cloud IDE, Drupal, Drupal Installation, drush, Install Drupal

Acquia Cloud Platform: Upgrading a Drupal 9 site from PHP 7.4 to PHP 8.0 using Acquia Lando

September 19, 2022 Leonardo Signorelli

PHP 7.4 is coming to an end of life! So I need to upgrade to PHP 8.0 ASAP! From Acquia’s…

Continue Reading →

Posted in: Acquia, Drupal 8-9, Drush, Lando, MacOS Filed under: Acquia, Acquia Cloud, Acquia Lando, Drupal, drupal 8, Drupal 9, Drupal8, drush, lando, PHP 8.0, PHP 8.0 Upgrade, PHP Upgrade

Launch a Drupal site in Acquia Cloud Platform

August 31, 2022 Leonardo Signorelli

Acquia Cloud Platform offers the most scalable and secure digital experience platform for building, launching, and managing Drupal applications. Create…

Continue Reading →

Posted in: Acquia, Drupal 8-9 Filed under: Acquia, Acquia Cloud, Drupal, Drupal 9, Drupal8

If you find my articles useful and would like to show your appreciation, consider buying me a cup of coffee ☕️. Your support is greatly appreciated and helps me continue creating valuable content. Thank you!

Donate
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress
Copyright © 2025 Code Snippets — Escapade WordPress theme by GoDaddy