• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/baseform.php
  • Класс: BitrixCatalogComponentBaseForm
  • Вызов: BaseForm::getVariationIblockId
public function getVariationIblockId(): ?int
{
	$iblockInfo = ServiceContainer::getIblockInfo($this->entity->getIblockId());

	if ($iblockInfo)
	{
		return (int)$iblockInfo->getSkuIblockId() ?: $iblockInfo->getProductIblockId();
	}

	return null;
}