logo

Palette - Make it Colorful🎨

Palette - Visual Page Builder, no design degree required.

Live Demo Download Palette

Scroll
18/10/2025, by Ivan
Cache tags = data dependencies
Cache tags describe dependencies on data managed by Drupal

Why?

Cache tags provide a declarative way to track which cache items depend on specific pieces of data managed by Drupal.

02/10/2025, by Ivan

In Drupal 8, bundles are a type of container for information that hold field definitions or settings. They are sometimes referred to as “subtypes.” Bundles are optional and sit under entity types in the hierarchy of information containers.

13/06/2025, by Ivan

Create new EPT Settings form class

I heard from many programmers worries about number of settings for EPT modules: DOM Box, background, borders, classes, etc. These programmers implied that content editors will be confused or in another way will be encouraged to do drastically different paragraphs, margins, backgrounds. Some projects needs flexibility and more settings for content editors, but some projects have pretty strict story books with components. For this case we need to change our EPT Settings field widget. 

13/06/2025, by Ivan

PHP 8 introduced constructor property promotion, a feature that simplifies class property definition and assignment by letting you declare and initialize properties in the constructor signature. This tutorial demonstrates how to use constructor property promotion in Drupal custom modules (which require PHP 8.0+), specifically to simplify dependency injection in your services and controllers. We will compare the traditional Drupal pattern (used in PHP 7 and early Drupal 9) with the modern PHP 8+ approach, using full code examples for both.