Hello!
There is a part of regular app/etc/di.xml and I need to add additional value in readers array.
<virtualType name="bodyRenderPool" type="Magento\Framework\View\Layout\ReaderPool">
<arguments>
<argument name="readers" xsi:type="array">
<item name="container" xsi:type="string">Magento\Framework\View\Layout\Reader\Container</item>
<item name="block" xsi:type="string">Magento\Framework\View\Layout\Reader\Block</item>
<item name="move" xsi:type="string">Magento\Framework\View\Layout\Reader\Move</item>
<item name="uiComponent" xsi:type="string">Magento\Framework\View\Layout\Reader\UiComponent</item>
</argument>
</arguments>
</virtualType>
If it is indicated in di.xml of my own module
<virtualType name="bodyRenderPool" type="Magento\Framework\View\Layout\ReaderPool">
<arguments>
<argument name="readers" xsi:type="array">
<item name="customEl" xsi:type="string">Company\MyModule\View\Layout\Reader\Customel</item>
</argument>
</arguments>
</virtualType>
That array is overridden.
How to add just an element in readers array?