How can i create virtualType for customer model Magento\Customer\Model\Customer\DataProvider ?
I have add following code in adminhtml/di.xml file but its not working.
Here is my code :
<virtualType name="vendor\modulename\Ui\DataProvider\Customer\Form\Modifier\Pool" type="Magento\Ui\DataProvider\Modifier\Pool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="file" xsi:type="array">
<item name="class" xsi:type="string">vendor\modulename\Ui\DataProvider\Customer\Form\Modifier\File</item>
<item name="sortOrder" xsi:type="number">10</item>
</item>
</argument>
</arguments>
</virtualType>
<type name="Magento\Customer\Model\Customer\DataProvider">
<arguments>
<argument name="pool" xsi:type="object">vendor\modulename\Ui\DataProvider\Customer\Form\Modifier\Pool</argument>
</arguments>
</type>