4 New Drupal 8 Videos on Twig (1 FREE) and Updating Hooks


Throughout the last couple of weeks, we've been gradually updating a Drupal 7 module to Drupal 8. This week we tie up some loose threads by updating a few of our leftover hooks like hook_permission, hook_cron and hook_help. Finally, we're releasing a FREE video explaining how the Twig templating language works and why it's so useful.

Enjoy and have an awesome week!

- Chris Shattuck

New! Updating our .module file's hook_permission() and hook_help()

Screenshot for Updating our .module file's hook_permission() and hook_help()

The conversion of our modules user interface is complete, but there’s a few things under the hood that we still need to review. In this video we start working through our .module file and discover a lot of code that we can simply yank out, and a couple bits that needs some upgrading.

New! Cleaning up our .module file and updating hook_cron()

Screenshot for Cleaning up our .module file and updating hook_cron()

In this video we complete the process of bringing our .module file up to speed with Drupal 8.

New! How to fix an "Undefined offset" error

Screenshot for How to fix an \

If you have your error reporting set to show notices, you might see a big red block of errors at the top of your otherwise beautiful block showcase page. In this video we explain where these errors are coming from and how to get around them.

New! (FREE!) Overview of how Twig works and why Twig is so useful

Screenshot for Overview of how Twig works and why Twig is so useful

Drupal 8 comes with several improvements to the theme layer, not the least of which is the switch to using the Twig template engine. In this video we explain briefly about what Twig is and the role it plays in Drupal.

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:

Contact us

Below are the supported keyboard shortcuts for our video player.

Start / stop video
Go to next video
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
Jump to a percentage (2 is 20%, for example)
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
1 month
6 months
10% off
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.