Skip directly to content

Peter Wolanin: Drupal 8, where did the code go? From info hook to plugin.

Date: 
Thursday, November 17, 2016 - 6:30pm to 8:30pm
Location: 

Drupal Nights

PLUG Cambridge
plugcambridge.com
618 Cambridge Street
Cambridge, MA 02141
https://goo.gl/maps/zV9WccMU3L82

Event Type: 

Looking at core and contrib modules for Drupal 8, you may be wondering "where did the code go?".

Drupal 8 has removed many of the "info" hooks that were found in your module file and converted them to plugins.

This session will be a practical discussion of how plugins work and how to upgrade your module to Drupal 8 if it used one of these hooks that's been converted to a plugin. I will include example of code from Drupal 7 and where the very similar code lives in Drupal 8.

In addition I'll cover the essentials of implementing your own plugin if your module previously used an "info" hook and you want to join the new paradigm. You'll come away understanding plugin terminology and different ways plugins can be discovered,

Finally, you leave feeling good that you'll never again implement one of these hooks by mistake again when you're writing a function in your module.

Presenter: 
Peter Wolanin

Expert Drupal software developer - one of the top contributors to Drupal 6, 7, and 8 and maintainer of several Drupal contributed modules.

Software engineer and software architect, who has built SaaS and PaaS products using AWS, web service integrations, and web applications. Focused on PHP and MySQL programming and application and platform security, especially Drupal, Drupal hosting, and integration with Apache Solr. Extensive use of ruby, bash, and other languages, utilization of the AWS API, and linux system administration including configuration management via Puppet.

Volunteer political organizer, reaching and turning out voters and conducting multiple facets of political campaigns.