#3522938: Enable lb_related_articles_blocks in update hook to fix config dependencies
Issue: https://www.drupal.org/project/y_lb_article/issues/3522938
Fix config import error by enabling lb_related_articles_blocks in update hook and adding module dependency
-
Install a site with y_lb_articleversion1.2.20. -
Do not enable the lb_related_articles_blocksmodule. -
Upgrade to the latest version of y_lb_article. -
Run drush updb and drush config:export.
- Ensures the module providing the required field is installed during update.
- Guarantees fresh installs will have this dependency satisfied automatically.