drupal-eca-recipe/eca_lib_0003

Redirect unpublished

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

3.1.1 2025-08-03 11:21 UTC

This package is auto-updated.

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


README

ID: eca_lib_0003

If a user requests an unpublished article node, but doesn't have the permission to view unpublished nodes, then the request gets redirected to the contact form.

Installation

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

# 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_0003

# Rebuilding caches is optional, sometimes required:
drush cr