Mastering services and dependency injection in Drupal 8

mikemiles86

Drupal 8 introduced services, decoupled objects managed by the services container. These objects are used by drupal core and modules to create reusable functionality and perform operations like accessing the database or sending an e-mail. Knowing how to utilize, alter and create service objects provides developers greater ability to control and extend the behaviour of Drupal. Beyond anything that simple hook functions provide.In this session developers will learn how to leverage dependency injection and the Drupal 8 service container to alter and extend the functionality of Drupal.

Learning Objectives

At the end of this session attendees will be able to;

  • Create custom service objects using dependency injection.
  • Extend and replace core service objects to alter the functionality of Drupal.
  • Use service objects in custom modules.

Target Audience

This session is for developers focused on back-end developement (PHP), who want to learn additional methods for altering and extending functionality in Drupal.

Prerequisites

Attendees will get the most out of this session by being familiar with developing in PHP, writing Drupal modules and a basic understanding of object oriented programming.

Track

Development & Coding

Tags

back-end development
drupal 8
php
symfony

Experience Level

Intermediate

If no timezone is set on your profile, time is displayed in UTC.
Update your profile's timezone