SilverStripe\Widgets\Tests\WidgetControllerTest\TestPageController

    Synopsis

    class TestPageController extends PageController implements TestOnly {
    }

    Hierarchy

    Extends

    • PageController

    Implements

    • SilverStripe\Dev\TestOnly

    Methods

    public

    • getViewer() — Template selection doesnt work in test folders, so we add a test theme a template name.