Can you use Drupal 8 yet?

As such, when Drupal 8 was released we took a special interest in the state of module development. Because Drupal 7 has benefitted from more than 5 years of contribution and development from the Drupal community, Drupal 7 is an incredibly stable and powerful platform.

We’ve been a bit spoiled, and despite the really amazing changes and improvements that we’ve been promised with Drupal 8, we were hesitant to jump on the bandwagon until we’d done a bit more research on what modules were really available for use.

read more

Drupal 8 - images with image style

Drupal 7

image_style_url('style', uri);

Drupal 8

You need to include the namespace ImageStyle

use Drupal\image\Entity\ImageStyle;

And this is the php code you need now:

read more

Drupal 8 - Get fields from a node

I am currently using Drupal 8 - Beta 2. I took a little while to understand that nodes and users are part of the new entity architecture and all the node_WHATEVER functions used in Drupal 7 have completelly desapeared. This is a function that returns an array of node fields (type slider). I find this piece of code really helpfull to developers. I hope it save the 2 hours I took to figure this out.

 

read more

DrupalCon Portland 2013

While attending the 2013 Drupal Conference in Portland, I will be blogging a list of the attended presentations per day and highlight the most relevant comments.

read more
Subscribe to RSS - Drupal 8