public function registerParameters(ContainerBuilder $container, array $config): void
    {
        $container->setParameter('sonata.dashboard.block.class', $config['class']['block']);
        $container->setParameter('sonata.dashboard.dashboard.class', $config['class']['dashboard']);

        $container->setParameter('sonata.dashboard.admin.block.entity', $config['class']['block']);
        $container->setParameter('sonata.dashboard.admin.dashboard.entity', $config['class']['dashboard']);

        $container->setParameter(
            'sonata.dashboard.admin.dashboard.templates.compose',
            $config['templates']['compose']
        );
        $container->setParameter(
            'sonata.dashboard.admin.dashboard.templates.compose_container_show',
            $config['templates']['compose_container_show']
        );
        $container->setParameter(
            'sonata.dashboard.admin.dashboard.templates.render',
            $config['templates']['render']
        );

        $container->setParameter('sonata.dashboard.default_container', $config['default_container']);
    }
public function registerParameters(ContainerBuilder $container, array $config): void
    {
        $container->setParameter('sonata.dashboard.block.class', $config['class']['block']);
        $container->setParameter('sonata.dashboard.dashboard.class', $config['class']['dashboard']);

        $container->setParameter('sonata.dashboard.admin.block.entity', $config['class']['block']);
        $container->setParameter('sonata.dashboard.admin.dashboard.entity', $config['class']['dashboard']);

        $container->setParameter(
            'sonata.dashboard.admin.dashboard.templates.compose',
            $config['templates']['compose']
        );
        $container->setParameter(
            'sonata.dashboard.admin.dashboard.templates.compose_container_show',
            $config['templates']['compose_container_show']
        );
        $container->setParameter(
            'sonata.dashboard.admin.dashboard.templates.render',
            $config['templates']['render']
        );

        $container->setParameter('sonata.dashboard.default_container', $config['default_container']);
    }
public function registerParameters ( ContainerBuilder $ container , array $ config ) : void { $ container -> setParameter ( 'sonata.dashboard.block.class' , $ config [ 'class' ] [ 'block' ] ) ; $ container -> setParameter ( 'sonata.dashboard.dashboard.class' , $ config [ 'class' ] [ 'dashboard' ] ) ; $ container -> setParameter ( 'sonata.dashboard.admin.block.entity' , $ config [ 'class' ] [ 'block' ] ) ; $ container -> setParameter ( 'sonata.dashboard.admin.dashboard.entity' , $ config [ 'class' ] [ 'dashboard' ] ) ; $ container -> setParameter ( 'sonata.dashboard.admin.dashboard.templates.compose' , $ config [ 'templates' ] [ 'compose' ] ) ; $ container -> setParameter ( 'sonata.dashboard.admin.dashboard.templates.compose_container_show' , $ config [ 'templates' ] [ 'compose_container_show' ] ) ; $ container -> setParameter ( 'sonata.dashboard.admin.dashboard.templates.render' , $ config [ 'templates' ] [ 'render' ] ) ; $ container -> setParameter ( 'sonata.dashboard.default_container' , $ config [ 'default_container' ] ) ; }
Registers service parameters from bundle configuration.

@param ContainerBuilder $container Container builder
@param array            $config    Array of configuration
Registers service parameters from bundle configuration .