cattr-app/server-application

View on GitHub
resources/frontend/core/modules/Priorities/module.init.js

Summary

Maintainability
A
1 hr
Test Coverage
export const ModuleConfig = {
    routerPrefix: 'settings',
    loadOrder: 10,
    moduleName: 'Priorities',
};

export function init(context, router) {
    context.addCompanySection(require('./sections/priorities').default(context, router));

    context.addLocalizationData({
        en: require('./locales/en'),
        ru: require('./locales/ru'),
    });

    return context;
}