public function getFunction()
    {
        return function ($pathName) {
            $data = $this->context->getData();

            if (array_key_exists('sys_pathNames', $data)) {
                if (array_key_exists($pathName, $data['sys_pathNames'])) {
                    return $this->context->renderString($data['sys_pathNames'][$pathName]);
                }

                return '';
            }

            return '';
        };
    }