Drupal 8 Module Development

lbainbridge

Drupal 8 is here and a lot has changed for module developers, everything from how we define page callbacks to where we put our modules is different.  This session is aimed at Drupal 7 module developers who either haven't started or are just starting Drupal 8 module development.  This session moves fast and covers a lot of ground, it packs in practical examples for every topic covered and at the end a full module is completed.  "Module development" is a broad topic, but this session focuses on what module developers need to know to create and render a custom page callback using the new standards introduced in Drupal 8, topics covered are:

  • Moving from info to YAML
  • How to define menu callbacks
  • Composer, PSR-4, namespaces and autoloading
  • Services and the dependency injection container
  • Building a Drupal 8 controller
  • Building a twig template

Along the way we will be using tools like drush and the drupal console so a working knowledge of the command line is helpful but not necessary.  This session will focus on beginner and intermediate module developers but all skill levels are welcome to come and contribute.

Session Track

Coding and Development

Experience Level

Beginner

Drupal Version