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

18 lines
329 B
PHP

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