mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
SiteTree->CMSEditLink()
Mainly to make it compatible with the Translatable extension linking to existing translations of it, but also to make it work similarly to the SiteTree logic elsewhere.
This commit is contained in:
parent
5938ab06ba
commit
9076286162
@ -148,6 +148,13 @@ class SiteConfig extends DataObject implements PermissionProvider {
|
||||
|
||||
return $actions;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return String
|
||||
*/
|
||||
function CMSEditLink() {
|
||||
return singleton('CMSSettingsController')->Link();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current sites SiteConfig, and creates a new one
|
||||
|
Loading…
Reference in New Issue
Block a user