메소드 | 설명 | |
---|---|---|
export ( array $data = [] ) : array | ||
import ( array $pluginDefinitions, boolean $force = false ) : Result |
메소드 | 설명 | |
---|---|---|
getPlugin ( string $handle ) : Craft\BasePlugin | null | Returns plugin by handle. | |
getPluginService ( ) : PluginsService | ||
getUpdatesService ( ) : UpdatesService | ||
installPluginByHandle ( string $handle ) | Installs plugin by handle. | |
runMigrations ( string $handle ) | Run plugin migrations automatically. | |
togglePluginByHandle ( string $handle, boolean $isEnabled ) | Toggles plugin based on enabled flag. | |
uninstallPluginByHandle ( $handle ) | Uninstalls plugin by handle. |
메소드 | 설명 | |
---|---|---|
getPluginDefinition ( Craft\BasePlugin $plugin ) : array |
protected installPluginByHandle ( string $handle ) | ||
$handle | string |
protected runMigrations ( string $handle ) | ||
$handle | string |
protected togglePluginByHandle ( string $handle, boolean $isEnabled ) | ||
$handle | string | |
$isEnabled | boolean |
protected uninstallPluginByHandle ( $handle ) | ||
$handle |