SilverStripe\CMS\Model\SiteTree::validURLSegment
Returns true if this object has a URLSegment value that does not conflict with any other objects. This method checks for: - A page with the same URLSegment that has a conflict - Conflicts with actions on the parent page - A conflict caused by a root page having the same URLSegment as a class name
Signature
public function validURLSegment()
Returns
- bool