Symfony\Component\Form\FormRendererEngineInterface::getResourceForBlockName
Returns the resource for a block name.
The resource is first searched in the themes attached to $view, then in the themes of its parent view and so on, until a resource was found. The type of the resource is decided by the implementation. The resource is later passed to by the rendering algorithm.
Signature
public function getResourceForBlockName(FormView
$view,
string
$blockName )
Parameters
$view
— Symfony\Component\Form\FormView- The view for determining the used themes.
First the themes attached directly to the
view with are considered,
then the ones of its parent etc. $blockName
— string- The name of the block to render.
Returns
- mixed
- The renderer resource or false, if none was found.