Your First Drupal 8 Module

This presentation will start you on your journey into Drupal module development. It will show you the steps you need to take to make a simple but useful Drupal module. You can checkout the module now.

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:

  • Drupal Hook System
  • 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.

 

 

Audience
Track:
Development

Experience level

Beginner

Speaker(s)

tedbow