Function: SetReactPageLayoutMiddleware()
Function: SetReactPageLayoutMiddleware()
function SetReactPageLayoutMiddleware(context, next): Promiseable<IBlueprint>;
Blueprint middleware to process and register layout definitions from modules.
Parameters
context
BlueprintContext
<IBlueprint
, ClassType
>
The configuration context containing modules and blueprint.
next
NextMiddleware
<BlueprintContext
<IBlueprint
, ClassType
>, IBlueprint
>
The next pipeline function to continue processing.
Returns
Promiseable
<IBlueprint
>
The updated blueprint or a promise resolving to it.
Example
SetReactPageLayoutMiddleware(context, next)