SilverStripe\Widgets\Controllers\WidgetContentControllerExtension::handleWidget
Handles widgets attached to a page through one or more {@link WidgetArea} elements.
Iterated through each $has_one relation with a and looks for connected widgets by their database identifier. Assumes URLs in the following format: <URLSegment>/widget/<Widget-ID>.
Signature
public function handleWidget()
Returns
- RequestHandler