ResourceLoaderImageModule: Mark as style-only
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 18 Aug 2016 19:00:51 +0000 (21:00 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 18 Aug 2016 19:00:51 +0000 (21:00 +0200)
Follow-up to a464d1d41d69f12fe93146629254f6c785f43d81.

Bug: T87871
Change-Id: Iff307af1cf550c02bea94d596f316b30da259900

includes/resourceloader/ResourceLoaderImageModule.php

index 3b3bdf7..6cdab1b 100644 (file)
@@ -455,4 +455,11 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
                $this->loadFromDefinition();
                return $this->position;
        }
+
+       /**
+        * @return string
+        */
+       public function getType() {
+               return self::LOAD_STYLES;
+       }
 }