mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
28 lines
523 B
PHP
28 lines
523 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Friendica\Core\Addon;
|
|
|
|
/**
|
|
* Some functions to handle addons
|
|
*/
|
|
interface AddonHelper
|
|
{
|
|
/**
|
|
* Checks if the provided addon is enabled
|
|
*/
|
|
public function isEnabled(string $addonId): bool;
|
|
|
|
/**
|
|
* Returns a list of the enabled addon names
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getEnabledList(): array;
|
|
}
|