- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/integration/socialnetwork/logdestination.php
- Класс: BitrixTasksIntegrationSocialNetworkLogDestination
- Вызов: LogDestination::fillExtranet
private function fillExtranet(): self
{
// add virtual department: extranet
if (!BitrixTasksIntegrationExtranet::isConfigured()) {
return $this;
}
$this->destination['DEPARTMENT']['EX'] = array(
'id' => 'EX',
'entityId' => 'EX',
'name' => Loc::getMessage("TASKS_INTEGRATION_EXTRANET_ROOT"),
'parent' => 'DR0',
);
$this->destination['DEPARTMENT_RELATION']['EX'] = array(
'id' => 'EX',
'type' => 'category',
'items' => array(),
);
return $this;
}