Change record status: 
Project: 
Introduced in branch: 
10.2.x
Introduced in version: 
10.2.0
Description: 

system_get_module_admin_tasks() now requires module name as the second argument to narrow the API,

Before

  $info = \Drupal::service('extension.list.module')->getExtensionInfo($module);
  $admin_tasks = system_get_module_admin_tasks($module, $info);

After

  $info = \Drupal::service('extension.list.module')->getExtensionInfo($module);
   $admin_tasks = system_get_module_admin_tasks($module, $info['name');
Impacts: 
Module developers