• Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/entityselector/textnodetype.php
  • Класс: BitrixUIEntitySelectorTextNodeType
  • Вызов: TextNodeType::isValid
static function isValid($type): bool
{
	return is_string($type) && ($type === self::TEXT || $type === self::HTML);
}