23 lines
472 B
PHP
Raw Normal View History

2016-11-13 20:35:43 +13:00
<?php
namespace SilverStripe\Admin\Tests\CMSMenuTest;
use SilverStripe\Admin\LeftAndMain;
use SilverStripe\Dev\TestOnly;
class CustomTitle extends LeftAndMain implements TestOnly
{
private static $url_segment = 'CMSMenuTest_CustomTitle';
private static $menu_priority = 50;
public static function menu_title($class = null, $localised = false)
{
if ($localised) {
return __CLASS__ . ' (localised)';
} else {
return __CLASS__ . ' (unlocalised)';
}
}
}