As discussed in When should I create a service or a utility function? all the functions that use Drupal services should be inside a service . This was made in #2926907: Put the modulesList utility function inside the modules_weight service → but the Utility function was created again in #2926915: Made the getModulesList() method more generic → now after the 4k4 comments it seems that the best ways is have the two functions inside the modules_weight services.
Pass the modulesList() utility function to the modules_weight service.
None.
None.
A new method modulesList() is available inside the modules_weight service. And the modulesList() utility function will no longer exists.
None.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.