concrete/src/Page/Type/Type.php
public function canPublishPageTypeBeneathPage(\Concrete\Core\Page\Page $page)
    {
        $target = $this->getPageTypePublishTargetObject();
        if (is_object($target)) {
            return $target->canPublishPageTypeBeneathTarget($this, $page);
        }
    }
public function canPublishPageTypeBeneathPage(\Concrete\Core\Page\Page $page)
    {
        $target = $this->getPageTypePublishTargetObject();
        if (is_object($target)) {
            return $target->canPublishPageTypeBeneathTarget($this, $page);
        }
    }
public function canPublishPageTypeBeneathPage ( \ Concrete \ Core \ Page \ Page $ page ) { $ target = $ this -> getPageTypePublishTargetObject ( ) ; if ( is_object ( $ target ) ) { return $ target -> canPublishPageTypeBeneathTarget ( $ this , $ page ) ; } }
Returns true if pages of the current type are allowed beneath the passed parent page.

@param \Concrete\Core\Page\Page $page
Returns true if pages of the current type are allowed beneath the passed parent page .