Restruct\Silverstripe\SiteTreeButtons\GridFieldAddNewSiteTreeItemButton::getParentID
Use the specified parent ID. If not set, default to the current page.
TODO: Should probably perform a check to ensure that this is actually an instance of SiteTree and not some other random DataObject.
Signature
public function getParentID()
Returns
- int