changeset 996 | 91cd0cc00ab5 |
parent 855 | b83aca9d6e2b |
child 1213 | 22b0a3be985d |
--- a/src/pyams_content/shared/common/types.py Wed Oct 03 19:24:39 2018 +0200 +++ b/src/pyams_content/shared/common/types.py Fri Oct 05 15:00:26 2018 +0200 @@ -133,6 +133,12 @@ manager = ITypedDataManager(tool) return manager.get(self.data_type) + @property + def field_names(self): + data_type = self.get_data_type() + if data_type is not None: + return data_type.field_names + @subscriber(IObjectAddedEvent, context_selector=IWfTypedSharedContent) def handle_added_typed_shared_content(event):