This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -248,3 +248,58 @@ only published routes and content can be accessed.
248
248
'request_listener' => true,
249
249
),
250
250
));
251
+
252
+ Sonata Admin
253
+ ------------
254
+
255
+ This section configures each of the Sonata Admin extensions.
256
+
257
+
258
+ .. configuration-block ::
259
+
260
+ .. code-block :: yaml
261
+
262
+ sonata_admin :
263
+ extensions :
264
+ publishable :
265
+ form_group : form.group_publish_workflow
266
+ publish_time :
267
+ form_group : form.group_general
268
+ translatable :
269
+ form_group : form.group_general
270
+
271
+ .. code-block :: xml
272
+
273
+ <sonata-admin >
274
+ <extension >
275
+ <publishable form-group =" form.group_publish_workflow" />
276
+ <publish-time form-group =" form.group_general" />
277
+ <translatable form-group =" form.group_general" />
278
+ </extension >
279
+ </sonata-admin >
280
+
281
+ .. code-block :: php
282
+
283
+ $container->loadFromExtension('cmf_core', array(
284
+ 'sonata_admin' => array(
285
+ 'extensions' => array(
286
+ 'publishable' => array(
287
+ 'form_group' => 'form.group_publish_workflow',
288
+ ),
289
+ 'publish_time' => array(
290
+ 'form_group' => 'form.group_general',
291
+ ),
292
+ 'translatable' => array(
293
+ 'form_group' => 'form.group_general',
294
+ ),
295
+ ),
296
+ ),
297
+ ));
298
+
299
+ form_group
300
+ ~~~~~~~~~~
301
+
302
+ **type **: ``string `` **default **: as in above example.
303
+
304
+ Defines which form group the fields from this extension will appear in within
305
+ the Sonata Admin edit interface.
You can’t perform that action at this time.
0 commit comments