[DOCS][Developer] Elaborate on implementing and configuring a module

This commit is contained in:
2021-08-22 19:58:48 +01:00
committed by Hugo Sales
parent 141f919ca7
commit 1ee8df1494
15 changed files with 151 additions and 20 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Core\Modules;
use App\Core\Event;
use function App\Core\I18n\_m;
/**
* TODO Plugins aren't tested yet
@@ -13,7 +14,7 @@ abstract class Plugin extends Module
{
const MODULE_TYPE = 'plugin';
public function version()
public function version(): string
{
return GNUSOCIAL_BASE_VERSION;
}