Update CRM/Core/Form/EntityFormTrait.php
authorEileen McNaughton <eileen@mcnaughty.com>
Wed, 15 Mar 2023 01:03:25 +0000 (14:03 +1300)
committerGitHub <noreply@github.com>
Wed, 15 Mar 2023 01:03:25 +0000 (14:03 +1300)
Co-authored-by: Tim Otten <totten@civicrm.org>
CRM/Core/Form/EntityFormTrait.php

index d19fc483600909fbae9596a2cdc4f23291f2d1ce..1a4c1beefecc42a586504d8cd897102bc42ce95e 100644 (file)
@@ -33,6 +33,9 @@ trait CRM_Core_Form_EntityFormTrait {
   /**
    * Deletion message to be assigned to the form.
    *
+   * Depending on the screen, the deletionMessage may be plain-text (`{$deletionMessage|escape}`)
+   * or HTML (`{$deletionMessage|smarty:nodefaults}`). Be sure your controller+template agree.
+   *
    * @var string
    */
   protected $deleteMessage;