This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_talks/drupal-8-module-development.md

1.7 KiB
Raw Blame History

talk_id title tags tweets code slides video meta redirect
9 Getting Started with Drupal 8 Module Development
conference
php
drupal
drupalcamp
drupal-8
yes https://github.com/opdavies/dclondon16-d8-module
url embed
https://speakerdeck.com/opdavies/getting-started-with-drupal-8-module-development <script async class="speakerdeck-embed" data-id="0041804e52664d12a8e31cd118264813" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
url embed
https://www.youtube.com/watch?v=qO_Wh5WE3VA <iframe width="560" height="315" src="https://www.youtube.com/embed/qO_Wh5WE3VA" frameborder="0" allowfullscreen></iframe>
og
title image
Getting Started with Drupal 8 Module Development
url type height width
/assets/images/talks/dclondon16.png image/png 540 960
talks/2016/03/05/drupal-8-module-development-drupalcamp-london-2016/
talks/getting-started-with-drupal-8-module-development/

New to object-orientated PHP, Symfony or YAML, and want to get started building modules in Drupal 8? This is the session for you!

In this session, well cover:

  • Where Drupal 8 modules are located, and how they are structured.
  • How to build a simple module, including our own permissions and routes.
  • How to add your own controller and service classes.
  • What is the service/dependency injection container, and how do we use it?
  • How we can use tools such as PhpStorm and Drupal Console to speed up the process.

What we wont be covering:

  • Automated testing in PHPUnit or Simpletest.
  • Adding third party libraries and external dependencies via Composer.