mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
commit
01d8d653bb
@ -96,11 +96,11 @@ abstract class PluginBase extends ServiceProviderBase
|
||||
* The widgets must be returned in the following format:
|
||||
* [
|
||||
* 'className1'=>[
|
||||
* 'name' => 'My widget 1',
|
||||
* 'label' => 'My widget 1',
|
||||
* 'context' => ['context-1', 'context-2'],
|
||||
* ],
|
||||
* 'className2' => [
|
||||
* 'name' => 'My widget 2',
|
||||
* 'label' => 'My widget 2',
|
||||
* 'context' => 'context-1'
|
||||
* ]
|
||||
* ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user