public function getBackendModuleLabel($config, $id = null, $withParentTable = false)
	{
		if ($withParentTable) {
			\Controller::loadDataContainer($config['table']);
			if (!empty($GLOBALS['TL_DCA'][$config['table']]['config']['ptable'])) {
				$ptable = $GLOBALS['TL_DCA'][$config['table']]['config']['ptable'];
				\System::loadLanguageFile($ptable);
				if ($id && !empty($GLOBALS['TL_LANG'][$ptable]['edit'][1])) {
					return sprintf($GLOBALS['TL_LANG'][$ptable]['edit'][1], $id);
				}
				if (!empty($GLOBALS['TL_LANG'][$ptable]['edit'][0])) {
					return $GLOBALS['TL_LANG'][$ptable]['edit'][0];
				}
				if (!empty($GLOBALS['TL_LANG'][$ptable]['editheader'][0])) {
					return $GLOBALS['TL_LANG'][$ptable]['editheader'][0];
				}
			}
		}
		\System::loadLanguageFile($config['table']);
		if (!empty($GLOBALS['TL_LANG'][$config['table']]['editheader'][0])) {
			return $GLOBALS['TL_LANG'][$config['table']]['editheader'][0];
		}
		if ($id && !empty($GLOBALS['TL_LANG'][$config['table']]['edit'][1])) {
			return sprintf($GLOBALS['TL_LANG'][$config['table']]['edit'][1], $id);
		}
		if (!empty($GLOBALS['TL_LANG'][$config['table']]['edit'][0])) {
			return $GLOBALS['TL_LANG'][$config['table']]['edit'][0];
		}
		if ($id) {
			return sprintf($GLOBALS['TL_LANG']['MSC']['editRecord'], $id);
		}
		return $GLOBALS['TL_LANG']['MSC']['editElement'];
	}