src/DependencyInjection/SonataPageExtension.php
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]);
    }
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.

@param ContainerBuilder $container Container builder
@param array            $config    Array of configuration
Configure the page admin templates .