SilverStripe\Lumberjack\Forms\GridFieldSiteTreeAddNewButton::getAllowedChildren
Determine the list of classnames and titles allowed for a given parent object
Signature
public function getAllowedChildren([SiteTree
$parent = NULL] )
Parameters
$parent
— SilverStripe\CMS\Model\SiteTree
Returns
- boolean