Add an extension hook for customising site tree hints.

This commit is contained in:
Andrew Short 2013-10-11 01:31:07 +11:00
parent b08c70748f
commit 68d254c3c4

View File

@ -446,6 +446,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
}
}
$this->extend('updateSiteTreeHints', $def);
$json = Convert::raw2json($def);
$cache->save($json, $cacheKey);
}