Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Learn Drupal 8 module development with examples

via Udemy

Overview

Learn how to develop Drupal 8 code with many practical examples

What you'll learn:
  • Will have idea how to deal with some in real life Drupal module development situations
  • Declare a custom Drupal 8 module
  • Understand Drupal 8 routes
  • Be able to create Drupal 8 controllers
  • Be able to subscribe callbacks for events and execute code
  • Be able to create a custom service
  • Be able to create a custom form
  • Implement twig template for our controller
  • Add css file to our twig template
  • Create custom block in our module
  • Have general idea of Drupal 8 renderable arrays
  • Have example how to inject Service to your custom service
  • Injecting service to controller
  • Create a custom form
  • Write a validation to any form in your Drupal 8 instance
  • Have an idea how to implement Ajax forms
  • Create a custom admin page with configuration
  • Print your custom configuration
  • Declare custom permissions
  • Implement your custom permission to restrict access to a page
  • Implement permission to restrict access to segment of a page

It has never been better time to learn Drupal 8 module development.

Thats because Drupal 8 is already the better technologically and thefaster way to build Drupal applications(compared to Drupal 7).

Drupal 8 is built on top of Symfony so the good news are that as you learn how to create controller for example in Drupal 8 - the way you would do it in Symfony is quite the same and vice versa. Thats great because that actually means that the skills are transferable and that we are not going to be bogged down into endless drupalisms (Drupal-specific terms).

In this course we are going to learn the most popular sections of the Drupal 8 module development:

  • we are going to declare our own custom module
  • we are going to learn what is a controller and we are going to build our own controller class
  • we are going to learn how to implement new routes in the .routing.yml file
  • we are going to learn how to render controller content in twig template
  • how to include libraries (assets) when certain templates are being rendered
  • how to create custom blocks
  • have a good understanding of what Renderable arrays are
  • what in general are Services
  • how to declare a service
  • how to inject a service into our own service
  • how to inject a service to a container
  • how to create custom forms and act on submission
  • how to validate forms
  • how to alter any form
  • how to create an AJAXform
  • how to save our custom configuration to our won custom form admin page
  • how to render our custom configuration
  • how to declare permissions and how to make them work to restrict stuff ...

We are going to implement as much examples as possible and always Iattached for you the final files so that you could easily compare with the final result and not waste time on tracing a tiny-tiny bug.

Itried to make it as clear as possible and to share as much as possible examples that I face in my everyday work process as PHPDrupal developer. The skills that are covered in this course are surely stuff that you would need if your are building complex Drupal 8 applications and are "Must have" as a knowledge for every Drupal developer...

Taught by

Nikolay Borisov

Reviews

4.4 rating at Udemy based on 983 ratings

Start your review of Learn Drupal 8 module development with examples

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.