mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Compare commits
4 Commits
84740116a9
...
f7b0f01024
Author | SHA1 | Date | |
---|---|---|---|
|
f7b0f01024 | ||
|
e1be07d6f0 | ||
|
b05a24d5d1 | ||
|
42aed2b72e |
@ -27,6 +27,7 @@ use SilverStripe\Versioned\Versioned;
|
||||
use SilverStripe\View\Parsers\URLSegmentFilter;
|
||||
use SilverStripe\View\Requirements;
|
||||
use SilverStripe\View\SSViewer;
|
||||
use SilverStripe\Dev\Deprecation;
|
||||
|
||||
/**
|
||||
* The most common kind of controller; effectively a controller linked to a {@link DataObject}.
|
||||
@ -291,9 +292,11 @@ class ContentController extends Controller
|
||||
|
||||
/**
|
||||
* @return ArrayList<SiteTree>
|
||||
* @deprecated 5.4.0 Use getMenu() instead. You can continue to use $Menu in templates.
|
||||
*/
|
||||
public function Menu($level)
|
||||
{
|
||||
Deprecation::noticeWithNoReplacment('5.4.0', 'Use getMenu() instead. You can continue to use $Menu in templates.');
|
||||
return $this->getMenu($level);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user