• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/integration/bizproc/message/newstemplate.php
  • Класс: BitrixImIntegrationBizprocMessageNewsTemplate
  • Вызов: NewsTemplate::validate
protected function validate(): void
{
	parent::validate();

	if ($this->title === '')
	{
		$this->errors->setError(new Error(
			Loc::getMessage('IM_BIZPROC_MESSAGE_NEWS_TEMPLATE_FIELD_NAME_MESSAGE_TITLE_ERROR')
		));
	}
}