- Модуль: disk
- Путь к файлу: ~/bitrix/modules/disk/lib/document/onlyoffice/editor/customizationbuilder.php
- Класс: BitrixDiskDocumentOnlyOfficeEditorCustomizationBuilder
- Вызов: CustomizationBuilder::build
public function build(): array
{
$customization = [
'forcesave' => true,
'customer' => [
'address' => '',
'info' => $this->infoText ?? '',
'logo' => $this->getLogoForCustomerSection(),
'mail' => '',
'name' => 'Bitrix24',
'www' => $this->getUrlForCustomerSection(),
],
'logo' => [
'image' => $this->buildUrlToImage('disk_doceditor_logo.png?1'),
'imageEmbedded' => $this->buildUrlToImage('disk_doceditor_logo_embed.png?1'),
'url' => 'https://bitrix24.com',
],
'review' => [
'reviewDisplay' => self::REVIEW_DISPLAY_MARKUP,
],
'goback' => false,
'plugins' => false,
// 'loaderName' => 'Bitrix24',
'hideRightMenu' => $this->customization['hideRightMenu'] ?? true,
'hideRulers' => $this->customization['hideRulers'] ?? false,
'compactHeader' => $this->customization['compactHeader'] ?? true,
'compactToolbar' => $this->customization['compactToolbar'] ?? false,
];
return $customization;
}