silverstripe-widgets/tests/WidgetAreaEditorTest/TestWidget.php
Raissa North ab8349209a API Remove overriding function getTitle()
In the case that no title is entered in the CMS's title field no title is returned, rather than the CMS widget's title.
2018-02-02 11:13:52 +13:00

14 lines
357 B
PHP

<?php
namespace SilverStripe\Widgets\Tests\WidgetAreaEditorTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Widgets\Model\Widget;
class TestWidget extends Widget implements TestOnly
{
private static $table_name = 'WidgetAreaEditorTest_TestWidget';
private static $cmsTitle = "Test widget";
private static $description = "Test widget";
}