drupal-eca-recipe / eca_lib_0008
Redirects requests that would return a 403 access denied page to the login form, replacing the Redirect 403 To Login Page module.
Package info
gitlab.lakedrops.com/drupal/recipes/eca_lib_0008
Type:drupal-recipe
pkg:composer/drupal-eca-recipe/eca_lib_0008
Requires
- drupal/eca: *
- drupal/modeler_api: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
ID: eca_lib_0008
This module redirects page requests, that would normaly respond with a "403 Access denied" page, to the login form. Very much like the module "Redirect 403 To Login Page" which can be replaced with this model.
Note: this model requires ECA 1.2, or you need to apply the patch from https://www.drupal.org/project/eca/issues/3332859 if you want to use it on ECA 1.1
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0008
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/eca_lib_0008
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0008
# Rebuilding caches is optional, sometimes required:
drush cr