silverstripe-cms/tests/php/Model/SiteTreeTest_ClassA.php
2022-08-25 10:17:41 +12:00

21 lines
420 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Model;
use SilverStripe\Dev\TestOnly;
use SilverStripe\CMS\Model\SiteTree;
class SiteTreeTest_ClassA extends SiteTree implements TestOnly
{
private static $table_name = 'SiteTreeTest_ClassA';
private static $need_permission = [
'ADMIN',
'CMS_ACCESS_CMSMain',
];
private static $allowed_children = [
SiteTreeTest_ClassB::class,
];
}