Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/modules/seo/ |
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/modules/seo/.settings.php |
<?php return [ 'controllers' => [ 'value' => [ 'namespaces' => [ '\\Bitrix\\Seo\\Controller' => 'api', ], 'restIntegration' => [ 'enabled' => false, ], ], 'readonly' => true, ], 'services' => [ 'value' => [ 'seo.leadads.service' => [ "className" => static function(){ return \Bitrix\Seo\LeadAds\Service::getInstance(); } ], 'seo.business.service' => [ 'className' => static function() { return \Bitrix\Seo\BusinessSuite\Service::getInstance(); } ], 'seo.business.adapter' => [ 'className' => static function() { return \Bitrix\Seo\BusinessSuite\ServiceAdapter::loadFacebookService(); } ], 'seo.business.conversion' => [ 'className' => '\\Bitrix\\Seo\\Conversion\\Facebook\\Conversion', 'constructorParams' => static function () : array { $locator = \Bitrix\Main\DI\ServiceLocator::getInstance(); if ($locator->has('seo.business.service')) { return [$locator->get('seo.business.service')]; } return []; } ], 'seo.catalog.webhook.handler' => [ 'className' => '\\Bitrix\\Seo\\Catalog\\CatalogWebhookHandler', 'constructorParams' => static function () : array { return [ \Bitrix\Main\Context::getCurrent()->getRequest(), \Bitrix\Seo\Service::getEngine(), \Bitrix\Main\EventManager::getInstance(), \Bitrix\Main\Application::getInstance(), ]; } ], ], 'readonly' => true, ], 'ui.selector' => [ 'value' => [ 'seo.selector' ], 'readonly' => true, ], 'ui.entity-selector' => [ 'value' => [ 'entities' => [ [ 'entityId' => 'facebook_interests', 'provider' => [ 'moduleId' => 'seo', 'className' => '\\Bitrix\\Seo\\UI\\Provider\\InterestsProvider' ], ], [ 'entityId' => 'facebook_regions', 'provider' => [ 'moduleId' => 'seo', 'className' => '\\Bitrix\\Seo\\UI\\Provider\\RegionsProvider' ], ] ], 'extensions' => ['seo.entity-selector'], ], 'readonly' => true, ] ];