bundles/BlockManagerBundle/DependencyInjection/CompilerPass/View/DefaultViewTemplatesPass.php
protected function addDefaultRule(string $viewName, string $context, array $rules, string $defaultTemplate): array
    {
        $rules += [
            "___{$viewName}_{$context}_default___" => [
                'template' => $defaultTemplate,
                'match' => [],
                'parameters' => [],
            ],
        ];

        return $rules;
    }
protected function addDefaultRule(string $viewName, string $context, array $rules, string $defaultTemplate): array
    {
        $rules += [
            "___{$viewName}_{$context}_default___" => [
                'template' => $defaultTemplate,
                'match' => [],
                'parameters' => [],
            ],
        ];

        return $rules;
    }
protected function addDefaultRule ( string $ viewName , string $ context , array $ rules , string $ defaultTemplate ) : array { $ rules += [ "___{$viewName}_{$context}_default___" => [ 'template' => $ defaultTemplate , 'match' => [ ] , 'parameters' => [ ] , ] , ] ; return $ rules ; }
Adds the default view template as a fallback to specified view rules.
Adds the default view template as a fallback to specified view rules .