• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/attribute/fieldattributemanager.php
  • Класс: Bitrix\Crm\Attribute\FieldAttributeManager
  • Вызов: FieldAttributeManager::getEntityScopeByCategory
static function getEntityScopeByCategory(?int $categoryId = 0): string
{
	return $categoryId > 0 ? "category_{$categoryId}" : "";
}