Build and Implement: How to Use Object Oriented PHP Code in Drupal 8

A lot of people know how to properly build Object Oriented PHP code but are stuck when they want to use that code in a Drupal 8 project. Learning how to use and refactor existing PHP code with the Drupal 8 API will allow you to leverage that code and make it play properly with Drupal 8.

This webinar will show you how to incorporate Object Oriented PHP code into Drupal 8 module(s). We’ll start by introducing plain PHP code and will show you how to port this code to Drupal 8 module(s) using e.g. composer. You will learn how you must make use of certain parts of the Drupal 8 API (e.g. the Entity API and Field API). We'll introduce you to Drupal 8 Services and Drupal 8 Plugins, two fundamental concepts that every Drupal 8 Developer should know how to use.

At the end of this session, attendees will have a better understanding of:

  • Basic object class structures
  • How Drupal 8 can use OOP PHP classes
  • Composer
  • Drupal 8 API

Watch the recorded webinar