• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/connectors/itemrelations.php
  • Класс: Bitrix\Crm\Automation\Connectors\ItemRelations
  • Вызов: ItemRelations::createFromItem
static function createFromItem(Item $item): self
{
	$categoryId = $item->isCategoriesSupported() ? $item->getCategoryId() : null;
	$identifier = new ItemIdentifier($item->getEntityTypeId(), $item->getId(), $categoryId);

	return new static($identifier);
}