• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/task/placeholder/taskmixer.php
  • Класс: BitrixTasksInternalsTaskPlaceholderTaskMixer
  • Вызов: TaskMixer::setDescription
private function setDescription(int $templateId): void
{
	/** @var TemplateModel $template */
	$template = TemplateModel::createFromId($templateId);
	try
	{
		$this->description = $template->getDescription();
	}
	catch (Exception $exception)
	{
		$this->description = '';
		$this->errors->setError(new Error($exception->getMessage(), "Template ID: {$templateId}"));
	}
}