Server IP : 85.193.89.191 / Your IP : 18.188.108.8 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/bitrix/modules/socialnetwork/ |
Upload File : |
<?php use Bitrix\Socialnetwork\Integration\UI\EntitySelector; return [ 'controllers' => [ 'value' => [ 'defaultNamespace' => '\\Bitrix\\Socialnetwork\\Controller', 'namespaces' => [ '\\Bitrix\\Socialnetwork\\Controller' => 'api', ], 'restIntegration' => [ 'enabled' => true ], ], 'readonly' => true, ], 'ui.selector' => [ 'value' => [ 'socialnetwork.selector' ], 'readonly' => true, ], 'ui.entity-selector' => [ 'value' => [ 'entities' => [ [ 'entityId' => 'user', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\UserProvider::class ], ], [ 'entityId' => 'fired-user', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\FiredUserProvider::class ], ], [ 'entityId' => 'project-user', 'substitutes' => 'user', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\ProjectUserProvider::class ], ], [ 'entityId' => 'project', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\ProjectProvider::class ], ], [ 'entityId' => 'meta-user', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\MetaUserProvider::class ], ], [ 'entityId' => 'project-tag', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\ProjectTagProvider::class, ], ], [ 'entityId' => 'project-roles', 'provider' => [ 'moduleId' => 'socialnetwork', 'className' => EntitySelector\ProjectRolesProvider::class, ], ], ], 'extensions' => ['socialnetwork.entity-selector'], ], 'readonly' => true, ] ];