DependencyInjection/Compiler/BlockTemplatePass.php
public function process(ContainerBuilder $container)
    {
        if (!$container->hasDefinition('fxp_block.extension')) {
            return;
        }

        $resources = $container->getParameter('fxp_block.twig.resources');

        array_splice($resources, 0, 0, [
            'block_div_layout.html.twig',
        ]);

        $container->setParameter('fxp_block.twig.resources', $resources);
    }
public function process(ContainerBuilder $container)
    {
        if (!$container->hasDefinition('fxp_block.extension')) {
            return;
        }

        $resources = $container->getParameter('fxp_block.twig.resources');

        array_splice($resources, 0, 0, [
            'block_div_layout.html.twig',
        ]);

        $container->setParameter('fxp_block.twig.resources', $resources);
    }
public function process ( ContainerBuilder $ container ) { if ( ! $ container -> hasDefinition ( 'fxp_block.extension' ) ) { return ; } $ resources = $ container -> getParameter ( 'fxp_block.twig.resources' ) ; array_splice ( $ resources , 0 , 0 , [ 'block_div_layout.html.twig' , ] ) ; $ container -> setParameter ( 'fxp_block.twig.resources' , $ resources ) ; }
{@inheritdoc}
{