WidgetSets\Extensions\WidgetSetSiteTreeExtension::hasWidgets
Returns whether the widget set with the given name has widgets.
Signature
public function hasWidgets(string
$registeredWidgetSetName )
Parameters
$registeredWidgetSetName
— string- Name of the widget set to check
Returns
- bool