We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5976024 + 532c2f2 commit 67af288Copy full SHA for 67af288
docs/components/sendit/events.md
@@ -136,6 +136,25 @@ switch ($modx->event->name){
136
137
:::
138
139
+#### senditOnGetWebConfig - генерируется при формировании конфигурации для фронта
140
+
141
+Доступные параметры:
142
143
+* **$webConfig** - массив параметров конфигурации.
144
+* **$object** - экземпляр класса SendIt.
145
146
+::: details Пример плагина
147
148
+```php:line-numbers
149
+switch ($modx->event->name){
150
+ case 'senditOnGetWebConfig':
151
+ $object->webConfig['myparam'] = 'test;
152
+ break;
153
+}
154
+```
155
156
+:::
157
158
### События Identification
159
160
---
0 commit comments