Symfony\Component\Form\Extension\Templating\TemplatingRendererEngine::loadResourceFromTheme
Tries to load the resource for a block from a theme.
Signature
protected function loadResourceFromTheme(string
$cacheKey,
string
$blockName,
mixed
$theme )
Parameters
$cacheKey
—
string
- The cache key for storing the resource.
$blockName
—
string
- The name of the block to load a resource for.
$theme
—
mixed
- The theme to load the block from.
Returns
- Boolean
- True if the resource could be loaded, false otherwise.