Converts a module id into a view id. By default the ids are the same.
The module id.
string
The view id.
If no view id can be determined, this function is called to genreate one. By default it attempts to determine the object's type and use that.
The object to determine the fallback id for.
string
The view id.
Locates the specified view.
A view. It will be immediately returned.
A promise of the view.
Locates the specified view.
A view url or view id to locate.
A promise of the view.
Maps an object instance to a view instance.
The object to locate the view for.
A promise of the view.
Takes a view id and translates it into a particular area. By default, no translation occurs.
The view id.
The area to translate the view to.
string
The translated view id.
Allows you to set up a convention for mapping module folders to view folders. It is a convenience method that customizes convertModuleIdToViewId
and translateViewIdToArea
under the covers.