• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/timeline/entity/customicon.php
  • Класс: Bitrix\Crm\Timeline\Entity\CustomIconTable
  • Вызов: CustomIconTable::checkIsSystemCodeValidator
static function checkIsSystemCodeValidator(): \Closure
{
	return static function ($value) {

		$systemCodes = Icon::getSystemIcons();
		if (!in_array($value, $systemCodes, true))
		{
			return true;
		}

		return $value . ' is reserved word and cannot be used';
	};
}