*
* Generated from xml/schema/CRM/Core/MessageTemplate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cd30af196b1fc606a1fdccc6d7cfb096)
+ * (GenCodeChecksum:90ed9b8ad7299f01d2f83ea90b7b7a15)
*/
/**
*/
public $workflow_id;
+ /**
+ * @var string
+ */
+ public $workflow_name;
+
/**
* is this the default message template for the workflow referenced by workflow_id?
*
'workflow_id' => [
'name' => 'workflow_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Message Template Workflow'),
+ 'title' => ts('Deprecated field for Message Template Workflow.'),
'description' => ts('a pseudo-FK to civicrm_option_value'),
'where' => 'civicrm_msg_template.workflow_id',
'table_name' => 'civicrm_msg_template',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'localizable' => 0,
],
+ 'workflow_name' => [
+ 'name' => 'workflow_name',
+ 'type' => CRM_Utils_Type::T_STRING,
+ 'title' => ts('Message Template Workflow Name'),
+ 'maxlength' => 255,
+ 'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_msg_template.workflow_name',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
+ 'localizable' => 0,
+ ],
'is_default' => [
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,