Create AddonHelper::getEnabledAddonsWithAdminSettings()

This commit is contained in:
Art4 2025-02-04 12:18:08 +00:00
parent a678f41ca7
commit fda70f3fe3
4 changed files with 27 additions and 9 deletions

View file

@ -30,7 +30,7 @@ interface AddonHelper
*
* @return bool true on success or false on failure
*/
public function installAdodn(string $addonId): bool;
public function installAddon(string $addonId): bool;
/**
* Uninstalls an addon.
@ -66,5 +66,12 @@ interface AddonHelper
*
* @return string[]
*/
public static function getVisibleEnabledAddons(): array;
public function getVisibleEnabledAddons(): array;
/**
* Returns a list with the IDs of the enabled addons that provides admin settings.
*
* @return string[]
*/
public function getEnabledAddonsWithAdminSettings(): array;
}