0
我对谷歌地图的配置在我的TCA如何设置userFunc“参数”,在TYPO3柔性成型
'configuration_map' => array(
'exclude' => 0,
'label' => 'Map',
'config' => array(
'type' => 'user',
'userFunc' => 'Vendor\\Extension\\Utility\\LocationUtility->render',
'parameters' => array(
'lng' => 'lng',
'lat' => 'lat',
'address' => 'address',
),
),
),
我需要相同的配置在柔性成型,像下面的例子。如何在xml中设置userFunc“参数”?
<settings.map>
<TCEforms>
<label>Map</label>
<config>
<type>user</type>
<userFunc>Vendor\Extension\Utility\LocationUtility->render</userFunc>
<parameters>
</parameters>
</config>
</TCEforms>
</settings.map>