If you want your extension to be exposed in the backstage's Extensions table, the extension's information needs to be specified in module's <extensionConfig> node in DAML.
If your module needs to load to get the extension's information, your module needs to implement the IExtensionConfig interface.