mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API Deprecations for template layer
This commit is contained in:
parent
df82162291
commit
87f4e9184e
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user