protected function addOrInjectMenuNamePrefix($moduleId)
    {
        $module = $this->data->rawData['modules'][ $moduleId ];
        $prefix = $module['parent_names']['menu'];

        // mark so we don't prefix it twice
        $this->modulePrefixedMenu[$moduleId] = true;

        // this is always a simple prefix
        $this->data->rawData['modules'][ $moduleId ]['prefixed_name'] =
            $this->addPrefix(
                array_get($module, 'prefixed_name') ?: $module['name'],
                $prefix
            );
    }