Is it bad practice to print fields that will use Drupal WYSIWYG in Pattern Lab using |raw?

Probably. This is a question I recently asked in the Drupaltwig Slack #pattern-lab channel. Some background: I recently had a situation where I had a “Page introduction” component. This component has 1 field, and it’s a WYSIWYG field, which means it needs to print HTML. Here is the structure of my component: page-introduction |- page-introduction.twig […]

Sharing content around multi-sites in Drupal 7 using JavaScript

Problem: We have 150+ multi-sites and would like to share certain lists of content (Views) between them. In this specific case, there is a need to show a list of programs on a department site. Each department has their own multi-site, and there is 1 programs site that all the data will come from as […]

My Terminus Drupal 7 cheat sheet

The Terminus documentation is amazing. However, I tend to only use a couple commands over and over so I created this post so I can continually reference it and have some “copy/paste” ready commands to use on my projects. Get a URL to the latest snapshot of my production database Adding a new module and […]

Thing one thing I don’t understand about Google Photos

UPDATE (10/4/18): After purchasing a Google One account and seeing how Photos was using almost 5GB of my storage quota, I finally figured it’s time to see why this is happening. I’m pretty sure if you had a bunch of photos on Google+ when it transitioned to Google Photos, your photos counted against your Google […]