*/
trait CRM_Core_Form_EntityFormTrait {
+ /**
+ * The id of the object being edited / created.
+ *
+ * @var int
+ */
+ public $_id;
+
/**
* The entity subtype ID (eg. for Relationship / Activity)
*
return $this->_id;
}
+ /**
+ * Set the entity ID
+ *
+ * @param int $id The entity ID
+ */
+ public function setEntityId($id) {
+ $this->_id = $id;
+ }
+
/**
* Should custom data be suppressed on this form.
*