#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 🧪 Steps to Reproduce the Original Issue:

  • Install a site with y_lb_article version 1.2.20.
  • Do not enable the lb_related_articles_blocks module.
  • Upgrade to the latest version of y_lb_article.
  • Run drush updb and drush config:export.

Config import fails due to missing field_article_type dependency.

How this MR fixes it:

  • Ensures the module providing the required field is installed during update.
  • Guarantees fresh installs will have this dependency satisfied automatically.

Merge request reports

Loading