FediScanner

#drupal

← Back

New! Drupal 11: Object Oriented Hooks And Hook Service Classes

New in Drupal 11.1.0 is the ability to create object oriented (OOP) hooks, which is a shift away from the traditional procedural based hooks that have been a part of Drupal for so long.

In this article we will look at how to create a OOP hook, how to transition to using OOP hooks in your Drupal modules, and how to create your own OOP hooks.

hashbangcode.com/article/drupa

#drupal #drupalDevelopment #hashbangcode

Show Original PostReport

I made some major updates to drupal.org/project/drupal_flake - now you can start it up "detached" from the text user interface (TUI) that used to force you to open other shells to use it. It's now faster and easier to do local Drupal development, with no containers!

Also a slick #starship prompt. #drupal #nix

-- if there's anyone experienced with Drupal's Gitlab CI, I am having trouble getting tests working on the project -- created two tests that work locally but fail in CI

Show Original PostReport