FormRendererEngineInterface::renderBlock()

string renderBlock(FormView $view, mixed $resource, string $blockName, array $variables = array())

Renders a block in the given renderer resource.

The resource can be obtained by calling {@link getResourceForBlock()} or {@link getResourceForBlockHierarchy()}. The type of the resource is decided by the implementation.

Parameters

FormView $view The view to render
mixed $resource The renderer resource
string $blockName The name of the block to render
array $variables The variables to pass to the template

Return Value

string The HTML markup
doc_Symfony
2016-10-28 06:19:10
Comments
Leave a Comment

Please login to continue.