Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper::block
Renders a block of the template.
Signature
public function block(FormView
$view,
string
$blockName,
array
$variables )
Parameters
$view
— Symfony\Component\Form\FormView- The view for determining the used themes.
$blockName
— string- The name of the block to render.
$variables
— array- The variable to pass to the template.
Returns
- string
- The HTML markup