SilverStripe\Widgets\Controllers\WidgetContentControllerExtension
Add this to ContentController to enable widgets
Synopsis
class WidgetContentControllerExtension
extends Extension
{
- // members
- private static array $allowed_actions = ;
- // methods
- public RequestHandler handleWidget()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
private
- $allowed_actions — array
Methods
public
- handleWidget() — Handles widgets attached to a page through one or more {@link WidgetArea} elements.