Form::constructEmbedWidgetsDataSet

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Form
  4. constructEmbedWidgetsDataSet
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/form.php
  • Класс: Bitrix\Crm\Controller\Form
  • Вызов: Form::constructEmbedWidgetsDataSet
private function constructEmbedWidgetsDataSet(int $buttonId, Crm\SiteButton\Button $button, string $formType, bool $checked)
{
	$relatedIds = $button->getWebFormIdList($formType);
	return [
		'id' => $buttonId,
		'name' => $button->getName(),
		'checked' => $checked,
		'relatedFormIds' => $relatedIds,
		'relatedFormNames' => [],
	];
}

Добавить комментарий