mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Allow configuring all drivers via frontend (#1169)
This includes an API endpoint for fetching the list of possible drivers and their configuration fields. In the future, this can be extended to include more meta information about each field.
This commit is contained in:
@@ -28,6 +28,11 @@ class LogDriver implements DriverInterface
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
public function availableSettings(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function buildTransport(SettingsRepositoryInterface $settings): Swift_Transport
|
||||
{
|
||||
return new LogTransport($this->logger);
|
||||
|
Reference in New Issue
Block a user