/learning-drupal-as-a-framework

Learning Drupal 9 a a framework tutorial code

Primary LanguagePHP

Learning Drupal as a framework (Drupal 10 compatible)

amazon leanpub leanpub leanpub udemy3 udemy udemy2 LinkedIn twitter


Logo

Your guide to custom Drupal 8, 9 & 10

wonderful, throughfull explained and pedagogically crafted with care. Great book! - Camillos Figuera
Very good course and I hope see more Drupal courses like this! - Hesham Khwaja
This was what I've been looking for for a long time. Well explained and documented. Thanks! This helped me a lot to understand entities - Wouter Gevaert

Getting Started

Important!
For Drupal 9, use the drupal9 branch.
For Drupal 10, use either the drupal10 or the main branch.

Installation

The following steps are needed to set up the platform:

  1. Paste the project files into a directory. Make sure the web and drush folder are in the root of the project.

  2. Make sure your local domain is pointed to the web folder

  3. Run composer install in the root of your installation. This will download all the required packages for the platform, and add the map structure.

  4. Important! In your settings.php, as read in the configuration management chapter, at the bottom add $settings['config_sync_directory'] = '../config/global';

  5. Fill in your database credentials via the UI and install your drupal site. Choose "use existing configuration"

  1. Wait for the installation to finish.

  2. Run drush offer-create-seeds to import all of your dummy content

(back to top)

Roadmap

  • Code updated for Drupal 9.5
  • Review of all chapters was done
  • Video course of chapter 2 "Drupal developer essentials" [available on Udemy]
  • Video course of chapter 3 "Start with custom entities" [available on Udemy]
  • Video course of chapters 4 and 5 "Advanced Drupal development" [available on Udemy]
  • Code updated for Drupal 10

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Stef Van Looveren - Twitter: @stefvanlooveren

Website: https://stefvanlooveren.me

(back to top)