• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/rest/appplacement.php
  • Класс: Bitrix\Crm\Integration\Rest\AppPlacement
  • Вызов: AppPlacement::getAllDetailTabCodes
static function getAllDetailTabCodes(): array
{
	$supportedEntityTypesList = [
		\CCrmOwnerType::Lead,
		\CCrmOwnerType::Deal,
		\CCrmOwnerType::Quote,
		\CCrmOwnerType::Contact,
		\CCrmOwnerType::Company,
		\CCrmOwnerType::Order,
		\CCrmOwnerType::SmartInvoice,
	];

	static::mixinDynamicEntityTypes($supportedEntityTypesList);

	$detailTabCodes = [];
	foreach ($supportedEntityTypesList as $entityTypeId)
	{
		$detailTabCodes[] = static::getDetailTabPlacementCode($entityTypeId);
	}

	return $detailTabCodes;
}