/Engine/Source/Editor/UMGEditor/Public/WidgetBlueprint.h
Blueprint can choose to load specific modules for compilation. Children are expected to call base implementation.
virtual void LoadModulesRequiredForCompilation()