silverstripe-cms/tests/model/VirtualPageTest_PageWithAllowedChildren.php

13 lines
282 B
PHP
Raw Normal View History

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