silverstripe-cms/tests/php/Model/VirtualPageTest_PageWithAllowedChildren.php
2020-04-19 16:18:01 +12:00

18 lines
405 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Model;
use SilverStripe\CMS\Model\VirtualPage;
use SilverStripe\Dev\TestOnly;
use Page;
class VirtualPageTest_PageWithAllowedChildren extends Page implements TestOnly
{
private static $table_name = 'VirtualPageTest_PageWithAllowedChildren';
private static $allowed_children = [
VirtualPageTest_ClassA::class,
VirtualPage::class,
];
}