drupal-eca-recipe / eca_lib_0020
Creates an article node whenever a page node is created, building the new title from the page author's name and the page title.
Package info
gitlab.lakedrops.com/drupal/recipes/eca_lib_0020
Type:drupal-recipe
pkg:composer/drupal-eca-recipe/eca_lib_0020
3.1.8
2026-09-01 14:36 UTC
Requires
- drupal/eca: *
- drupal/modeler_api: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
ID: eca_lib_0020
This model reacts upon creating a new page node. It then creates a new article node, its title is populated with the page auther's name, some static text and the title of the created page.
The recorded video provides more explanation as we go on.
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0020
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/eca_lib_0020
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0020
# Rebuilding caches is optional, sometimes required:
drush cr