v7.0.0-beta.4 release
This commit is contained in:
1 parent
05db17887d
commit
1db039ff34
1545 files changed
+136783
-11634
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Contracts\Extension;
|
||||
|
||||
use App\Enums\DeactivationReason;
|
||||
|
||||
interface PluginManagerInterface
|
||||
{
|
||||
/**
|
||||
@@ -40,9 +42,16 @@ interface PluginManagerInterface
|
||||
*
|
||||
* @param string $pluginName 비활성화할 플러그인명
|
||||
* @param bool $force 의존 템플릿이 있어도 강제 비활성화 여부
|
||||
* @param string $reason 비활성화 사유 (DeactivationReason enum value: manual|incompatible_core)
|
||||
* @param string|null $incompatibleRequiredVersion incompatible_core 사유 시 요구된 코어 버전 제약
|
||||
* @return array{success: bool, layouts_deleted: int, warning?: bool, dependent_templates?: array, message?: string} 비활성화 결과
|
||||
*/
|
||||
public function deactivatePlugin(string $pluginName, bool $force = false): array;
|
||||
public function deactivatePlugin(
|
||||
string $pluginName,
|
||||
bool $force = false,
|
||||
string $reason = DeactivationReason::Manual->value,
|
||||
?string $incompatibleRequiredVersion = null,
|
||||
): array;
|
||||
|
||||
/**
|
||||
* 지정된 플러그인을 시스템에서 제거합니다.
|
||||
|
||||
Reference in new issue
Block a user