code: function layoutWidgetAdapterFor( areaHelper, widget ) {
           return layoutLoader.load( widget.layout )
              .then( ({ className, html }) => {
                 const adapter = createLayoutWidgetAdapter( areaHelper, className, {
                    area: widget.area,
                    id: widget.id,
                    path: widget.layout
                 } );
  
                 return {
                    id: widget.id,
                    adapter,
                    destroy: adapter.destroy,
                    templatePromise: Promise.resolve( html )
                 };
              } );
        }
docs: //////////////////////////////////////////////////////////////////////////////////////////////////////