• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/Access/Rule/StoreViewRule.php
  • Класс: BitrixCatalogAccessRuleStoreViewRule
  • Вызов: StoreViewRule::check
protected function check($params): bool
{
	$item = $params['item'] ?? null;
	if ($item instanceof StoreDocumentElement)
	{
		$params['value'] = $item->getStoreIds();
	}

	return parent::check($params);
}