Merge pull request #19660 from totten/master-afform-token
authorcolemanw <coleman@civicrm.org>
Mon, 22 Mar 2021 20:44:11 +0000 (16:44 -0400)
committerGitHub <noreply@github.com>
Mon, 22 Mar 2021 20:44:11 +0000 (16:44 -0400)
Afform - Add support for email tokens `{afform.myFormUrl}`

1  2 
ext/afform/core/CRM/Afform/AfformScanner.php
ext/afform/core/Civi/Api4/Action/Afform/Get.php
ext/afform/core/Civi/Api4/Afform.php
ext/afform/core/afform.php

index e524a3f1f9146667d563aba7ded5c30c181822a1,fd04527d0f4b01e20aabb8f627541b25982a80f0..f4e4bd86340411b605156da3980ba9115997b07e
@@@ -134,8 -134,8 +134,9 @@@ class CRM_Afform_AfformScanner 
        'description' => '',
        'is_dashlet' => FALSE,
        'is_public' => FALSE,
+       'is_token' => FALSE,
        'permission' => 'access CiviCRM',
 +      'type' => 'system',
      ];
  
      $metaFile = $this->findFilePath($name, self::METADATA_FILE);
Simple merge
Simple merge