DependencyInjection/RzSearchExtension.php
protected function registerSearchSettings(array $config, ContainerBuilder $container)
    {
        if (empty($config['configs'])) {
            throw ConfigManagerException::error('At least 1 configuration should be present under configs.');
        }

        $definition = $container->getDefinition('rz_search.manager.config');
        foreach ($config['configs'] as $name => $configuration) {
            if ($configuration['model']['processor'] && $configuration['model']['identifier']) {
                $definition->addMethodCall('setConfig', array($name, $configuration));
                $definition->addMethodCall('setIndex', array($name, $configuration['model']['identifier']));
            }
        }
    }
protected function registerSearchSettings(array $config, ContainerBuilder $container)
    {
        if (empty($config['configs'])) {
            throw ConfigManagerException::error('At least 1 configuration should be present under configs.');
        }

        $definition = $container->getDefinition('rz_search.manager.config');
        foreach ($config['configs'] as $name => $configuration) {
            if ($configuration['model']['processor'] && $configuration['model']['identifier']) {
                $definition->addMethodCall('setConfig', array($name, $configuration));
                $definition->addMethodCall('setIndex', array($name, $configuration['model']['identifier']));
            }
        }
    }
protected function registerSearchSettings ( array $ config , ContainerBuilder $ container ) { if ( empty ( $ config [ 'configs' ] ) ) { throw ConfigManagerException :: error ( 'At least 1 configuration should be present under configs.' ) ; } $ definition = $ container -> getDefinition ( 'rz_search.manager.config' ) ; foreach ( $ config [ 'configs' ] as $ name => $ configuration ) { if ( $ configuration [ 'model' ] [ 'processor' ] && $ configuration [ 'model' ] [ 'identifier' ] ) { $ definition -> addMethodCall ( 'setConfig' , array ( $ name , $ configuration ) ) ; $ definition -> addMethodCall ( 'setIndex' , array ( $ name , $ configuration [ 'model' ] [ 'identifier' ] ) ) ; } } }
Registers ckeditor widget.
Registers ckeditor widget .