Learn Drupal 8 module development with examples

Learn how to develop Drupal 8 code with many practical examples

4.34 (1100 reviews)
Udemy
platform
English
language
Other
category
instructor
Learn Drupal 8 module development with examples
4,549
students
3 hours
content
Mar 2019
last update
$69.99
regular price

What you will 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

Why take this course?

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

Thats because Drupal 8 is already the better technologically and the faster 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 AJAX form
  • 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 I attached 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.

I tried to make it as clear as possible and to share as much as possible examples that I face in my everyday work process as PHP Drupal 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...

Screenshots

Learn Drupal 8 module development with examples - Screenshot_01Learn Drupal 8 module development with examples - Screenshot_02Learn Drupal 8 module development with examples - Screenshot_03Learn Drupal 8 module development with examples - Screenshot_04

Reviews

Guy
September 19, 2023
Bien jusqu'à la section 4, sauf un manque de démonstration des outils de debugging. La section 4 : des lignes de code alignées sans explication sur l'intérêt des services ni sur l'objectif visé par les services.
Koyun
August 26, 2023
perfect, but. You use Kint and devel as development tools that are third party modules, that are not available like in version 8. So I have trouble to follow without these modules in version 10.
Pranesh
June 27, 2023
it wag good to learn that how to create custom modules and and set the permissions and also create event subscribers. so its good to watch this course which really help to explorer your knowledge in Drupal.
Mark
October 5, 2022
I liked the videos that the author created, and the examples were simple enough to follow, but there was not enough context on why/what the various concepts were best used for. I also feel that his example of the 'heros lists' was too simple and should have used a more real-life set of examples.
Alun
August 4, 2022
Very good practical examples. It would be best combined with a higher level overview elsewhere, but nice and hands on with good practice in checking the API docs, particularly when the course code needs to be updated!
Adam
July 22, 2022
Examples were okay, but the instructor does a poor job of explaining syntax and how the different components interact.
Shawn
June 17, 2022
It was a great course but I would like to see one updated for new information about Drupal 9. Most of the stuff was easy to adapt but I couldn't get some of the services tutorials to work.
Clifford
May 31, 2022
A bit dated as Drupal 9 is out, having to use my experience to fill in some gaps to take the course as intended. However it's still useful.
Tombosoa
February 18, 2022
It's a very good course I recommend to beginners but it's a bit like a tutorial you follow it but then you ask yourself the question how I think of myself and implement this feature on event subscriber. And on the injections of dependencies there is not too much explanation on the why and how? On the hook_theme render there is not too much explanation. It lacks the hook_preprocess or the hook_suggestion or I find that it is a very important aspect on drupal. It also lacks how to create custom entity content or config .... But it's a great course.
Vladimir
January 11, 2022
Teaching is good, some resources not supported due to Drupal versions, need some extra reading but worth it, course is very good. Best
Deepak
January 5, 2022
A good course for getting started with Drupal module development. Created module from scratch. Learned new thing. Good course for beginners.
Fontanier
December 6, 2021
La traduction anglaise est déplorable. Plusieurs questions posées et aucune réponse apportées par le professeur Le cours est à revoir beaucoup de modules ne fonctionnent pas. Aujourd'hui la version est drupal 9 et la moitié des vidéos ne sont pas adaptées, bcp de modules n'existent plus ou sont dépréciés
Dileep
November 29, 2021
Outdated-Devel module not properly explained , Not explaining properly about how and why in Services. Lacks Explanations mainly how and why.
Edward
October 4, 2021
I eventually got everything sorted out but posted a couple of questions that were never answered. It might be helpful to include necessary modifications (or a different version of the course) for Drupal 9.
Дмитрий
September 3, 2021
Очень хорошо идет подача материала по логической и технической составляющим. Немного о тихий голос и приходится вслушиваться это мелочи. Оценка 4.5 Курс стоит своих денег! Хотелось бы курс на 9-ку с разбором полноценного проекта, разбора settings.php файлов и перенос на хостинг!

Charts

Price

Learn Drupal 8 module development with examples - Price chart

Rating

Learn Drupal 8 module development with examples - Ratings chart

Enrollment distribution

Learn Drupal 8 module development with examples - Distribution chart

Related Topics

1664030
udemy ID
4/26/2018
course created date
6/2/2020
course indexed date
Bot
course submited by