X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FSystem.php;h=e27d93fe1dc5b80762e3b0af5c1450d406b53243;hb=a6433fdbf3c2ece57694711a0a0da9257dfa3713;hp=b9bb47dd3bcca7f0515ac5acff9dcf095078abb5;hpb=11b2e4a03f0fca2d8cf490fc2c9227b5b221f503;p=civicrm-core.git diff --git a/CRM/Extension/System.php b/CRM/Extension/System.php index b9bb47dd3b..e27d93fe1d 100644 --- a/CRM/Extension/System.php +++ b/CRM/Extension/System.php @@ -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 */