Issue #3289475 by Project Update Bot, jonathan1055: Change public static $modules to protected - automated Drupal 10 compatibility