From 2a368cb3e597e35b467a6aebbaf35d42747681f5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 26 Apr 2017 15:34:58 +0200 Subject: [baseconfig] Display inherited value and source when editing module specific settings This optionally requires a callback to find the inheritance source in the module in question. The locations module was updated accordingly. This implements #3120 --- modules-available/locations/baseconfig/hook.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules-available/locations/baseconfig') diff --git a/modules-available/locations/baseconfig/hook.json b/modules-available/locations/baseconfig/hook.json index c295e0f6..b7b3581b 100644 --- a/modules-available/locations/baseconfig/hook.json +++ b/modules-available/locations/baseconfig/hook.json @@ -1,5 +1,6 @@ { "table": "setting_location", "field": "locationid", - "tostring": "Location::getName" + "tostring": "Location::getName", + "getfallback": "Location::getBaseconfigParent" } \ No newline at end of file -- cgit v1.2.3-55-g7522