• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Controller/EntityDetails.php
  • Класс: BitrixCrmMobileControllerEntityDetails
  • Вызов: EntityDetails::hasProductCatalogAccess
private function hasProductCatalogAccess(): bool
{
	if (!Loader::includeModule('catalog'))
	{
		return false;
	}

	return CatalogAccessAccessController::getCurrent()->check(
		CatalogAccessActionDictionary::ACTION_CATALOG_READ
	);
}