• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/product/base.php
  • Класс: BitrixCatalogControllerProductBase
  • Вызов: Base::processBeforeAdd
protected function processBeforeAdd(EngineAction $action): Result
{
	$r = parent::processBeforeAdd($action);

	if ($r->isSuccess())
	{
		$r = $this->isAllowedProductTypeByIBlockId($action);
	}

	return $r;
}