bundles/BlockManagerBundle/Templating/Twig/Runtime/RenderingRuntime.php
private function getViewContext(array $context, ?string $viewContext = null): string
    {
        return $viewContext ?? $context['view_context'] ?? ViewInterface::CONTEXT_DEFAULT;
    }
private function getViewContext(array $context, ?string $viewContext = null): string
    {
        return $viewContext ?? $context['view_context'] ?? ViewInterface::CONTEXT_DEFAULT;
    }
private function getViewContext ( array $ context , ? string $ viewContext = null ) : string { return $ viewContext ?? $ context [ 'view_context' ] ?? ViewInterface :: CONTEXT_DEFAULT ; }
Returns the correct view context based on provided Twig context and view context
provided through function call.
Returns the correct view context based on provided Twig context and view context provided through function call .