Data containing the information needed to register the localization station paths for the entity using the localization generator
registerLocalizationEntryPoints([
{ root: '/movie/:id', entityIdParam: 'id', entityType: 'movie' },
{ root: '/series/:seriesId', entityIdParam: 'seriesId', entityType: 'series' },
// with resolveRoot
{
root: '/channel/:channelId/playlist/:playlistId',
resolveRoot: async(playlistId: string) => Promise.resolve({ channelId:'123' }),
entityIdParam: 'playlistId',
entityType: 'playlist'
}
]
Generated using TypeDoc
This function can be used to register embedded localization workflows for entities. The localization service will register all required stations to provide an embedded localization workflow for the entity. To query then entry point for a specific entity, to e.g. create a details page action that links to the sub-workflow, use
getLocalizationEntryPointfunction.