Plugin Development: Reports
Previous Section: Permissions
Plugins can define their own report dashboards, which will be visible in the reports section within the operator panel. Plugin reports should be stored in a Reports
directory within the plugin.
Writing Report Dashboards
For more information on developing report dashboards, please refer to: Report Development
Registering Report Dashboards
To register a dashboard, it's the same process as if you build a full report - the main plugin controller constructor must call the registerReportDashboards
method with the dashboard classes in an array.
public function __construct()
{
parent::__construct();
...
$this->registerReportDashboards([
\Addons\Plugins\HelloWorld\Reports\Overview::class,
]);
}