silverstripe-cms/tests/php/Model/VirtualPageTest_PageWithAllowedChildren.php
2017-08-09 17:09:28 +12:00

18 lines
410 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 = array(
VirtualPageTest_ClassA::class,
VirtualPage::class,
);
}