X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FSystem.php;h=e27d93fe1dc5b80762e3b0af5c1450d406b53243;hb=b4167b7ca6942d0995383555d0b8ae98e0af3cf8;hp=b9bb47dd3bcca7f0515ac5acff9dcf095078abb5;hpb=1ba43e8d0d271e4c3b4d84fb7f519c55329981ab;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 */