[BUGFIX] Expose IconFactory in ModuleTemplate rather than AbstractModule
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Template / ModuleTemplate.php
index 2113991..ca8d251 100644 (file)
@@ -183,13 +183,22 @@ class ModuleTemplate {
        }
 
        /**
+        * Set title tag
+        *
         * @param string $title
         */
        public function setTitle($title) {
                $this->title = $title;
        }
 
-
+       /**
+        * Returns the IconFactory
+        *
+        * @return IconFactory
+        */
+       public function getIconFactory() {
+               return $this->iconFactory;
+       }
 
        /**
         * Class constructor