get Addon
Gets an AddonContainer associated with the addon id.
Return
An optional containing the addon container if available, or an empty optional if the addon is not loaded.
Parameters
id
The id of the addon to get.
Gets an AddonContainer associated with the instance of an addon.
Return
An optional containing the addon container if available, or an empty optional if the addon is not loaded.
Parameters
instance
The instance of the addon to retrieve.