123456789101112131415161718192021222324252627282930313233 |
- <?xml version="1.0" encoding="UTF-8"?>
- <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
- <parameters>
- <parameter key="sonata.admin.twig.extension.x_editable_type_mapping" type="collection">
- <parameter key="choice">select</parameter>
- <parameter key="boolean">select</parameter>
- <parameter key="text">text</parameter>
- <parameter key="textarea">textarea</parameter>
- <parameter key="html">textarea</parameter>
- <parameter key="email">email</parameter>
- <parameter key="string">text</parameter>
- <parameter key="smallint">text</parameter>
- <parameter key="bigint">text</parameter>
- <parameter key="integer">number</parameter>
- <parameter key="decimal">number</parameter>
- <parameter key="currency">number</parameter>
- <parameter key="percent">number</parameter>
- <parameter key="url">url</parameter>
- <parameter key="date">date</parameter>
- </parameter>
- </parameters>
- <services>
- <service id="sonata.admin.twig.extension" class="Sonata\AdminBundle\Twig\Extension\SonataAdminExtension">
- <tag name="twig.extension"/>
- <argument type="service" id="sonata.admin.pool"/>
- <argument type="service" id="logger" on-invalid="ignore"/>
- <argument type="service" id="translator"/>
- <call method="setXEditableTypeMapping">
- <argument>%sonata.admin.twig.extension.x_editable_type_mapping%</argument>
- </call>
- </service>
- </services>
- </container>
|