Drupal 8

Install Solr 6 for Drupal 8 on Ubuntu 16.04

Submitted by christophe on Wed, 26/10/2016 - 21:55
This setup is intended for production use on a dedicated server (VPS, ...). For development purpose it should be preferable to use Drupal VM, it comes with a default Solr configuration that can be enabled via the config.yml file. If you are using Drupal VM and want to configure Search API for Solr, you can jump to point 4.

Drupal 8 links or where is my l() function ?

Submitted by christophe on Thu, 07/04/2016 - 07:24

The l() function is deprecated in Drupal 8, here is a starter.

Import the URL and Link classes :

use Drupal\Core\Url;
use Drupal\Core\Link;


You have several options, but basically, you can start with an url that will be used by a link.
One of the possible implementation will be used, with the Link::fromTextAndUrl method. 

Kickoff a Drupal 8 development environment

Submitted by christophe on Mon, 08/02/2016 - 10:01

Drupal 8 evolves quickly, and it's easy to get lost amongst the several documentations that have been written since the beta releases, Drush and PHP version needs upgrade. Some things that I have learned.

Option 1 : No VM setup on Mac OSX, via Homebrew

Okay, VM's are easier to maintain solutions, but in some situations you just don't have enough RAM for having Virtualbox running all the time.

VLAD (Vagrant LAMP Ansible Drupal)

Submitted by christophe on Thu, 19/11/2015 - 15:41

After trying the latest dev release of VDD (needed to run Drupal 8, because at the time of writing this, the stable release is stucked to PHP 5.3), I decided to give a try to VLAD, another Vagrant alike solution.
Main reasons : git and drush are not already installed on th VDD dev, and sometimes I got stucked on the vagrant provisioning.

First reaction after installing VLAD : Woooooow !

Here are some of the sweet goodies that awaits you :