Participant import fix - broken uniqueName fields, mapping saving, event_id
[civicrm-core.git] / CRM / Extension / System.php
index b9bb47dd3bcca7f0515ac5acff9dcf095078abb5..e27d93fe1dc5b80762e3b0af5c1450d406b53243 100644 (file)
@@ -26,6 +26,7 @@ class CRM_Extension_System {
   private $manager = NULL;
   private $browser = NULL;
   private $downloader = NULL;
+  private $mixinLoader = NULL;
 
   /**
    * @var CRM_Extension_ClassLoader
@@ -243,6 +244,16 @@ class CRM_Extension_System {
     return $this->downloader;
   }
 
+  /**
+   * @return CRM_Extension_MixinLoader;
+   */
+  public function getMixinLoader() {
+    if ($this->mixinLoader === NULL) {
+      $this->mixinLoader = new CRM_Extension_MixinLoader();
+    }
+    return $this->mixinLoader;
+  }
+
   /**
    * @return CRM_Utils_Cache_Interface
    */