#561452 by pwolanin and David_Rothstein: Add API function to get module/theme info without rebuilding it.