mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #873 from ajshort/pull-2
Add an extension hook for customising site tree hints.
This commit is contained in:
commit
c8dc9a9377
@ -446,6 +446,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
}
|
||||
}
|
||||
|
||||
$this->extend('updateSiteTreeHints', $def);
|
||||
|
||||
$json = Convert::raw2json($def);
|
||||
$cache->save($json, $cacheKey);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user