Symfony\Component\Form\FormRendererEngineInterface::renderBlock
Renders a block in the given renderer resource.
The resource can be obtained by calling or . The type of the resource is decided by the implementation.
Signature
public function renderBlock(FormView
$view,
mixed
$resource,
string
$blockName,
array
$variables )
Parameters
$view
— Symfony\Component\Form\FormView- The view to render.
$resource
— mixed- The renderer resource.
$blockName
— string- The name of the block to render.
$variables
— array- The variables to pass to the template.
Returns
- string
- The HTML markup.