fix: #3625407 Import the Full and Teaser view modes so recipe installs do not crash
Fixes #3625407.
core.entity_view_mode.node.full and .teaser are config entities shipped by core's Node module. When a recipe enables a module, RecipeRunner::installModules() uses the config installer's syncing mode, which only creates simple configuration — config entities are skipped unless explicitly imported. On a site installed from a recipe (Node installed by the recipe machinery, not already present), those two view modes are never created, so the Component/Product/Project modules' *.full/*.teaser view displays null-deref in EntityDisplayBase::calculateDependencies() while loading.
This imports the two view modes in the three foundation recipes (cucumber_components, cucumber_products, cucumber_projects — recipes/foundation/recipe.yml). Verified locally: drush site:install from cucumber_starter completes and all Cucumber content is present.
AI-Generated: Yes
Checkpoints
- File an issue
- Addition / Change / Update / Fix
- Reviewed by a human
- Code review by maintainers
- Review with the product owner