drupal-eca-recipe/eca_lib_0001

Route test

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

3.2.1 2025-08-03 11:21 UTC

This package is auto-updated.

Last update: 2025-08-03 11:24:38 UTC


README

ID: eca_lib_0001

If a node page gets requested and the node is of type "article", a message will be printed.

This is using the event Controller found to handle request as this is working even if pages are cached.

Installation

## Import recipe
composer require drupal-eca-recipe/eca_lib_0001

# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/{{ rawid }}

# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0001

# Rebuilding caches is optional, sometimes required:
drush cr