mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
26 lines
566 B
PHP
26 lines
566 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Reports\Tests\ReportAdminTest;
|
|
|
|
use SilverStripe\Control\Controller;
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\Reports\Report;
|
|
use SilverStripe\Reports\ReportAdmin;
|
|
use SilverStripe\View\ArrayData;
|
|
|
|
class FakeReport2 extends Report implements TestOnly
|
|
{
|
|
public function title()
|
|
{
|
|
return 'Fake report two';
|
|
}
|
|
|
|
public function getBreadcrumbs()
|
|
{
|
|
return [ArrayData::create([
|
|
'Title' => 'Fake report title',
|
|
'Link' => FakeReport::singleton()->getLink()
|
|
])];
|
|
}
|
|
}
|