This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +29
-17
lines changed Expand file tree Collapse file tree 3 files changed +29
-17
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ enforce a single translation strategy for all documents:
102
102
103
103
See the `PHPCR-ODM documentation `_ for more information.
104
104
105
+ .. _bundle-core-translatable-admin-extension :
106
+
105
107
Editing Locale Information: Translatable Sonata Admin Extension
106
108
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107
109
@@ -129,7 +131,6 @@ configuration in the ``sonata_admin`` section of your project configuration:
129
131
<!-- app/config/config.xml -->
130
132
<?xml version =" 1.0" charset =" UTF-8" ?>
131
133
<container xmlns =" http://symfony.com/schema/dic/services" >
132
-
133
134
<config xmlns =" http://sonata-project.org/schema/dic/admin" >
134
135
<!-- ... -->
135
136
<extension id =" cmf_core.admin_extension.translatable" >
Original file line number Diff line number Diff line change @@ -358,6 +358,8 @@ This means that custom templates for ``templates_by_class`` and the controllers
358
358
of ``controllers_by_class `` need not check for publication explicitly as its
359
359
already done.
360
360
361
+ .. _bundle-core-workflow-admin-extensions :
362
+
361
363
Editing publication information: Publish Workflow Sonata Admin Extension
362
364
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363
365
Original file line number Diff line number Diff line change @@ -252,31 +252,40 @@ only published routes and content can be accessed.
252
252
Sonata Admin
253
253
------------
254
254
255
- This section configures each of the Sonata Admin extensions.
255
+ This section configures the Sonata Admin Extensions, see:
256
256
257
+ * :ref: `Publish Workflow Admin Extensions <bundle-core-workflow-admin-extensions >`;
258
+ * :ref: `Translatable Admin Extension <bundle-core-translatable-admin-extension >`.
257
259
258
260
.. configuration-block ::
259
261
260
262
.. code-block :: yaml
261
263
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
264
+ cmf_core :
265
+ sonata_admin :
266
+ extensions :
267
+ publishable :
268
+ form_group : form.group_publish_workflow
269
+ publish_time :
270
+ form_group : form.group_general
271
+ translatable :
272
+ form_group : form.group_general
270
273
271
274
.. code-block :: xml
272
275
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 >
276
+ <?xml version =" 1.0" charset =" UTF-8" ?>
277
+ <container xmlns =" http://symfony.com/schema/dic/services" >
278
+
279
+ <config xmlns =" http://cmf.symfony.com/schema/dic/core" >
280
+ <sonata-admin >
281
+ <extension >
282
+ <publishable form-group =" form.group_publish_workflow" />
283
+ <publish-time form-group =" form.group_general" />
284
+ <translatable form-group =" form.group_general" />
285
+ </extension >
286
+ </sonata-admin >
287
+ </config >
288
+ </container >
280
289
281
290
.. code-block :: php
282
291
You can’t perform that action at this time.
0 commit comments