Your First Drupal 8 module

This presentation will start you on your journey into Drupal 8 module development. It will show you the steps you need to take to make a simple but useful Drupal 8 module. You can checkout the module now: https://drupal.org/sandbox/tedbow/1222866.

This module is up-to-date and working with the latest develpment changes in Drupal 8 and will be at the time of presenting(give or take a couple days).

Whether you are a Drupal coder wanting to learn Drupal 8 module development or are new to Drupal coding, this session will show you a practical example module. New differences in Drupal 8 will be highlighted but no previous Drupal coding experience will be assumed.

Some of what will be demonstrated by the module:

  • Creating Forms
  • Creating URL Callbacks
  • Creating Menu Items
  • Creating your own Blocks
  • Defining your own Permissions
  • Letting other modules integrate with your module

The demo module has been broken up into increasing stages of complexity from the simplest "Hello World" version to a fully functioning Drupal module. You can follow along during the presentation by reloading the module (git tags or source code folders) at every stage to see how the newly added functions (and php classes!) add new features to the module. The module has also been set up with comments and documentation to make it a great intro study guide for learning Drupal 8 module development after the presentation.

Experience level: 
Intermediate
Speaker(s): 
Ted Bowman

Session Tracks (DrupalCamp NJ 2015)