I am trying to update a module on an old project of mine. In the meantime the module's devs added new configuration and schema yaml files but did't write the update functions for already existing sites.
How would you import all schema and config changes automatically?
Do I need to import the yaml files though Yaml::parse
and then use \Drupal::configFactory()
and \Drupal::entityDefinitionUpdateManager()
in my hook_update_N function? Or is there an easier way?