src/EcommerceBundle/PageBundle/DependencyInjection/EcommerceBundleSonataPageExtension.php
/**
     * Configure the page admin templates.
     *
     * @param ContainerBuilder $container Container builder
     * @param array            $config    Array of configuration
     */
Configure the page admin templates.
@param ContainerBuilder $container Container builder
@param array            $config    Array of configuration
Configure the page admin templates . @param ContainerBuilder $container Container builder @param array $config Array of configuration
public function configureTemplatesAdmin(ContainerBuilder $container, array $config)
    {
        $templateManager = $container->getDefinition('sonata.page.admin.page');
        $definitions = $config['templates_admin'];
        $templateManager->addMethodCall('setTemplates', [$definitions]);
    }
public function configureTemplatesAdmin ( ContainerBuilder $ container , array $ config ) { $ templateManager = $ container -> getDefinition ( 'sonata.page.admin.page' ) ; $ definitions = $ config [ 'templates_admin' ] ; $ templateManager -> addMethodCall ( 'setTemplates' , [ $ definitions ] ) ; }
Configure the page admin templates.
Configure the page admin templates .