how to change the weight of a moderation state transition outside the database how can I change the weight of a Moderation state transition in code?  is it possible?  This is for Drupal 8
Change the weight in the admin panel, then export the yaml files with drush config-export