File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
app/code/Magento/MediaGalleryRenditions/Model Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,6 @@ class GenerateRenditions implements GenerateRenditionsInterface
26
26
{
27
27
private const IMAGE_FILE_NAME_PATTERN = '#\.(jpg|jpeg|gif|png)$# i ' ;
28
28
29
- /**
30
- * Get image file name pattern for validation
31
- *
32
- * @return string
33
- */
34
- public function getImageFileNamePattern (): string
35
- {
36
- return self ::IMAGE_FILE_NAME_PATTERN ;
37
- }
38
-
39
29
/**
40
30
* @var AdapterFactory
41
31
*/
@@ -232,4 +222,14 @@ private function getMediaDirectory(): WriteInterface
232
222
{
233
223
return $ this ->filesystem ->getDirectoryWrite (DirectoryList::MEDIA );
234
224
}
225
+
226
+ /**
227
+ * Get image file name pattern for validation
228
+ *
229
+ * @return string
230
+ */
231
+ public function getImageFileNamePattern (): string
232
+ {
233
+ return self ::IMAGE_FILE_NAME_PATTERN ;
234
+ }
235
235
}
You can’t perform that action at this time.
0 commit comments