SilverStripe\CMS\Model\SiteTree::LinkingMode
Return "link", "current" or "section" depending on if this page is the current page, or not on the current page but in the current section.
Signature
public function LinkingMode()
Returns
- string