• Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/entityselector/item.php
  • Класс: BitrixUIEntitySelectorItem
  • Вызов: Item::setEntityType
public function setEntityType(string $type): self
{
	if (is_string($type) || $type === null)
	{
		$this->entityType = $type;
	}

	return $this;
}