Compare commits

...

2 Commits

Author SHA1 Message Date
Guy Sartorelli
6645d18725
Merge 87f4e9184e into df82162291 2024-10-21 01:29:02 +00:00
Guy Sartorelli
87f4e9184e
API Deprecations for template layer 2024-10-21 14:28:53 +13:00

View File

@ -297,9 +297,11 @@ class ContentController extends Controller
/** /**
* @return ArrayList<SiteTree> * @return ArrayList<SiteTree>
* @deprecated 5.4.0 Use getMenu() instead. You can continue to use $Menu in templates.
*/ */
public function Menu($level) public function Menu($level)
{ {
Deprecation::noticeWithNoReplacment('5.4.0', 'Use getMenu() instead. You can continue to use $Menu in templates.');
return $this->getMenu($level); return $this->getMenu($level);
} }