View Post

Paragraphs Module

In Drupal, Web Development by Ian CarnaghanLeave a Comment

This entry is part 2 of 14 in the series Drupal 8 Activity Cards

I have to be honest, before completing Day 2 tasks, I had never actually used the Paragraphs module before. I heard others mention it in the past and considered looking at it at some point, however until today I did not realize what I was missing in terms of the power and flexibility that this module has to offer. The d8cards.com …

View Post

Building Configuration Forms

In Drupal, Web Development by Ian Carnaghan1 Comment

This entry is part 3 of 14 in the series Drupal 8 Activity Cards

In Day 3 we are starting to accelerate in terms of skills developed by the cards. This card has us create our first Drupal 8 module, learn about Drupal 8 Form API and learn about the Configuration API. The card starts off with directing you to several Drupal.org documentation pages including Creating a Custom Page,  Defining and using your own …

View Post

Drupal 8 Migration

In Drupal, Web Development by Ian Carnaghan6 Comments

This entry is part 4 of 14 in the series Drupal 8 Activity Cards

I have had some exposure to the migrate module in the past, mostly with Drupal 7 and more recently for a Drupal 8 migration project that required importing of a small (under 1000) set of records stored in a CSV file. Todays D8Card focuses on the new migration module that comes partly with core and also partly in the form …

View Post

The New Block System in Drupal 8

In Drupal, Web Development by Ian Carnaghan1 Comment

This entry is part 5 of 14 in the series Drupal 8 Activity Cards

Among the many changes in Drupal 8, the blocks system received an overhaul, which has improved much of its functionality significantly. Some of the most notable take aways include the new block page layout and UI for updating, adding, and editing blocks, the addition of custom blocks and fieldable types (similar to content types), and integration with display view modes to …

View Post

Services and Dependency Injection

In Drupal, Web Development by Ian Carnaghan1 Comment

This entry is part 6 of 14 in the series Drupal 8 Activity Cards

For several years I have worked as an ASP.NET MVC developer and have become intimately familiar with terms such as services and dependency injection and services. It is refreshing to see some of these familiar concepts surfacing in Drupal 8. Day 6 focuses mainly on introducing us to services and dependency injection via several online resources. There is no exercises …

View Post

Cron Queuing in Drupal 8

In Drupal, Web Development by Ian Carnaghan2 Comments

This entry is part 7 of 14 in the series Drupal 8 Activity Cards

Day 7 focuses mainly on the Drupal Queue API. The main resource for this card is an article called Drupal 8 Queue API – Powerful Manual and Cron Queueing, which I had referenced in an earlier post. Before completing any of the materials, I had no previous experience with the Queue API, nor hook_entity_insert, which was used to create a demo …

View Post

Drupal 8 Plugin System

In Drupal, Web Development by Ian CarnaghanLeave a Comment

This entry is part 8 of 14 in the series Drupal 8 Activity Cards

There is a lot of new terminology in Drupal 8 and for anyone not familiar with Object Oriented programming, some of it can be downright confusing. For myself, I have worked with OOP for quite a while, however I have not spent as much time writing custom modules for Drupal 7. While I am familiar on the surface with the …

View Post

Attaching JS and CSS Assets in Drupal 8

In Drupal, Web Development by Ian CarnaghanLeave a Comment

This entry is part 9 of 14 in the series Drupal 8 Activity Cards

Drupal 8 has introduced a different way of attaching JavaScript and CSS to themes and custom modules via a new concept called libraries, which are covered in Day 9. Libraries are essentially .yml files that define different groups of assets that can later be attached via module code. When I started working with the theme layer in Drupal 8, I quickly realized …

View Post

Configuring your Local Drupal 8 Development Environment

In Drupal, Web Development by Ian CarnaghanLeave a Comment

This entry is part 10 of 14 in the series Drupal 8 Activity Cards

I have struggled with properly optimizing my local environment in terms of enabling debugging and disabling cache for a while. There isn’t that many steps you need to cover in order to have a proper working development environment. After reviewing Day 10 I completed setting up my environment the correct way and have outlined this in the following sections. Step …