diff --git a/src/MenuItem.php b/src/MenuItem.php index 901d6ef..6b4d078 100644 --- a/src/MenuItem.php +++ b/src/MenuItem.php @@ -298,4 +298,14 @@ public function getLinkTypes(): array return $types; } + + + public function getLinkingMode() + { + if ($this->PageID) { + return $this->Page()->LinkingMode(); + } else { + return 'link'; + } + } }