where i can find an example to add html content in my form using ModifierInterface. Or how to add part of ui_configuration in that modifier?
1 Answer
Find out. Here is an example:
'elementName' => [
'arguments' => [
'data' => [
'config' => [
'componentType' => 'htmlContent',
]
],
'block' => $this->blockFactory->createBlock(
'YourBlockClassName'
)
]
]
-
Great! That helped me a lot. One question @styopchik, do you know in the block how to get form element value?– jony974Commented Mar 18, 2020 at 7:43