mirror of
https://github.com/strapi/strapi.git
synced 2025-08-06 15:53:11 +00:00

- Hooks registry - D&P CT migrations - i18N CT migrations - Umzug with js / sql migrations - Eslint updates
16 lines
264 B
JavaScript
16 lines
264 B
JavaScript
'use strict';
|
|
|
|
const getCoreStore = () => {
|
|
return strapi.store({ type: 'plugin', name: 'i18n' });
|
|
};
|
|
|
|
// retrieve a local service
|
|
const getService = name => {
|
|
return strapi.plugin('i18n').service(name);
|
|
};
|
|
|
|
module.exports = {
|
|
getService,
|
|
getCoreStore,
|
|
};
|