Symfony\Component\Form\Extension\Templating\TemplatingRendererEngine::loadResourceForBlockName
Loads the cache with the resource for a given block name.
This implementation tries to load as few blocks as possible, since each block is represented by a template on the file system.
Signature
protected function loadResourceForBlockName(string
$cacheKey,
FormView
$view,
string
$blockName )
Parameters
$cacheKey
— string- The cache key of the form view.
$view
— Symfony\Component\Form\FormView- The form view for finding the applying themes.
$blockName
— string- The name of the block to load.
Returns
- Boolean
- True if the resource could be loaded, false otherwise.