$provider->getFilterConfig(), 'service_manager' => $provider->getDependencyConfig(), 'validators' => $provider->getValidatorConfig(), 'view_helpers' => $provider->getViewHelperConfig(), ]; } /** * Register a specification for the TranslatorPluginManager with the ServiceListener. * * @param \Zend\ModuleManager\ModuleManager $moduleManager * @return void */ public function init($moduleManager) { $event = $moduleManager->getEvent(); $container = $event->getParam('ServiceManager'); $serviceListener = $container->get('ServiceListener'); $serviceListener->addServiceManager( 'TranslatorPluginManager', 'translator_plugins', 'Zend\ModuleManager\Feature\TranslatorPluginProviderInterface', 'getTranslatorPluginConfig' ); } }