def get_links_setup(self):
		try:
			module = load_doctype_module(self.name, suffix='_links')
			return frappe._dict(module.links)
		except ImportError:
			return frappe._dict()
Returns setup for documents related to this doctype.
dataset/ETHPy150Open frappe/frappe/frappe/model/meta.py/Meta.get_links_setup