protected function remapPublishStates(array $config, ContainerBuilder $container)
    {
        $publishStates = array();

        foreach ($config as $role) {
            $publishStates[$role['value']] = $role['name'];
        }

        $container->setParameter('manhattan.publish.states', $publishStates);
    }
protected function remapPublishStates(array $config, ContainerBuilder $container)
    {
        $publishStates = array();

        foreach ($config as $role) {
            $publishStates[$role['value']] = $role['name'];
        }

        $container->setParameter('manhattan.publish.states', $publishStates);
    }
protected function remapPublishStates ( array $ config , ContainerBuilder $ container ) { $ publishStates = array ( ) ; foreach ( $ config as $ role ) { $ publishStates [ $ role [ 'value' ] ] = $ role [ 'name' ] ; } $ container -> setParameter ( 'manhattan.publish.states' , $ publishStates ) ; }
Remaps parsed array for default into Choices field

@param  array            $config
@param  ContainerBuilder $container
Remaps parsed array for default into Choices field